Skip to content

Commit 97012f7

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 97012f7

File tree

3 files changed

+105
-124
lines changed

3 files changed

+105
-124
lines changed

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
},
-1.4 KB
Loading

0 commit comments

Comments
 (0)