Skip to content

Commit 966396e

Browse files
maratalclaude
andcommitted
refactor: use ably/react hooks in React Native push guide
- Wrap app in AblyProvider + ChannelProvider - Split App into App (providers) and PushScreen (hooks) - Replace manual useEffect channel subscription with useChannel - Replace module-scope realtime client with useAbly() in PushScreen - Update ably channels publish CLI to ably push publish --channel - Remove scrollViewRef auto-scroll for brevity - Rename appendLog to log Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent cc736c9 commit 966396e

3 files changed

Lines changed: 105 additions & 124 deletions

File tree

src/data/nav/pubsub.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,7 @@ export default {
271271
{
272272
name: 'React Native',
273273
link: '/docs/push/getting-started/react-native',
274+
languages: ['javascript'],
274275
},
275276
],
276277
},
-12.9 KB
Loading

0 commit comments

Comments
 (0)