Skip to content

Add useRevisions hook docs to React SDK and Revisions guides#295

Merged
hackerwins merged 1 commit intomainfrom
use-revisions
Feb 23, 2026
Merged

Add useRevisions hook docs to React SDK and Revisions guides#295
hackerwins merged 1 commit intomainfrom
use-revisions

Conversation

@hackerwins
Copy link
Member

@hackerwins hackerwins commented Feb 23, 2026

What this PR does / why we need it?

  • Add useRevisions section to react.mdx with signature, return values, and usage example
  • Update revisions.mdx to recommend the built-in useRevisions hook, keeping the manual approach as an alternative
  • Add react-revision example to the examples table

Any background context you want to provide?

What are the relevant tickets?

Fixes #

Checklist

  • Added relevant tests or not required
  • Didn't break anything

- Add useRevisions section to react.mdx with signature, return values,
  and usage example
- Update revisions.mdx to recommend the built-in useRevisions hook,
  keeping the manual approach as an alternative
- Add react-revision example to the examples table

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@coderabbitai
Copy link

coderabbitai bot commented Feb 23, 2026

Warning

Rate limit exceeded

@hackerwins has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 5 minutes and 1 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch use-revisions

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@hackerwins hackerwins merged commit 084a21d into main Feb 23, 2026
2 checks passed
@hackerwins hackerwins deleted the use-revisions branch February 23, 2026 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant