Open
Conversation
… layout - Replace module-level client creation with useEffect to avoid SSR hydration mismatches - Add null guard and cleanup (ably.close()) in AblyProvider - Update Step 1 prose to reference useEffect approach - Move ConnectionState inside ChannelProvider in Step 3 page.tsx - Replace em dash with hyphen in PresenceStatus member status display Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
nextjs is not registered in @ably/ui CodeSnippet languages registry, causing highlight.js to throw "Unknown language: nextjs" during SSR. react works because it has a syntaxHighlighterKey mapping to javascript. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
… app - Add globals.css subsection with font-size reset and box-sizing rules - Style ConnectionState with grey pill background and bold state - Style page.tsx with centred title and max-width container - Style Messages with scrollable bordered box, blue left-border per message, clientId label, and Publish button - Style PresenceStatus with grey pill, green dot indicator, and h3 heading - Add two-column flex layout to final page.tsx Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
src/pages/docs/getting-started/nextjs.mdx)ably/reacthooksuseEffectfor Ably client creation to avoid SSR hydration mismatches in the App Routernextjsas a new language entry acrosslanguageData.ts,languageInfo.ts, andtypes.tspubsub.tsTest plan
/docs/getting-started/nextjsnextjslanguage selector appears and is selected by default🤖 Generated with Claude Code