Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: startTransition in React Native #181

Merged
merged 2 commits into from
Nov 29, 2024

Conversation

kwasniew
Copy link
Contributor

@kwasniew kwasniew commented Nov 28, 2024

About the changes

Document startTransition in ReactNative

Addresses: #178 (comment)

Important files

Discussion points

Comment on lines 286 to +292

### startTransition

If your version of React Native doesn't support `startTransition`, you can provide fallback implementation:
```jsx
<FlagProvider startTransition={fn => fn()} ></FlagProvider>
```
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this should be a react native usage section, not a startTransition section.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is in the React Native section and startTransition subsection.

@kwasniew kwasniew merged commit dad10df into main Nov 29, 2024
3 of 4 checks passed
@kwasniew kwasniew deleted the start-transition-react-native-docs branch November 29, 2024 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants