Skip to content

Conversation

@gewenyu99
Copy link
Contributor

@gewenyu99 gewenyu99 commented Dec 31, 2025

Changes

These are docs for React Router. All the React Router modes are very very very similar with subtle differences. I opted to:

  • Move it to a framework guide section
  • Page for each mode in V7 and page for v6
  • There will seem to be many "duplicate sections" but if it's not a snippet, there is meant to be a subtle difference to ensure successful integration.

🙏 It's a difficult review, thanks in advance

See examples repo PR for examples

@vercel
Copy link

vercel bot commented Dec 31, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
posthog Ready Ready Preview Jan 6, 2026 6:36pm

@gewenyu99 gewenyu99 requested a review from a team December 31, 2025 18:48
Copy link
Member

@edwinyjlim edwinyjlim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

huge!

For another time and place, but I'm starting to get a little queezy looking at the split between SDK vs Framework docs.

Copy link
Contributor

@sarahxsanders sarahxsanders left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I built three simple apps to test each mode and they are all working/sending events to PostHog using your updated docs 💪 NICE

Co-authored-by: Sarah Sanders <88458517+sarahxsanders@users.noreply.github.com>
Co-authored-by: Edwin Lim <edwin@posthog.com>
@gewenyu99
Copy link
Contributor Author

Thanks for the review folks <3

@gewenyu99 gewenyu99 merged commit 777134d into master Jan 6, 2026
12 checks passed
@gewenyu99 gewenyu99 deleted the react branch January 6, 2026 19:55
sarahxsanders added a commit that referenced this pull request Jan 26, 2026
* React Router docs

* Apply suggestions from code review

Co-authored-by: Sarah Sanders <88458517+sarahxsanders@users.noreply.github.com>
Co-authored-by: Edwin Lim <edwin@posthog.com>

* tweaks

* Logos

---------

Co-authored-by: Sarah Sanders <88458517+sarahxsanders@users.noreply.github.com>
Co-authored-by: Edwin Lim <edwin@posthog.com>
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.

3 participants