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

Document "non-React mode" #548

Open
zth opened this issue Dec 14, 2024 · 0 comments
Open

Document "non-React mode" #548

zth opened this issue Dec 14, 2024 · 0 comments

Comments

@zth
Copy link
Owner

zth commented Dec 14, 2024

With the new APIs in Relay 18.2 (waitForFragmentData) it's now entirely possible to run Relay without React. A few more APIs need bindings for this to be really slick, but the query->fragment composition model already works very well with something like res-x.

Document that there's now a mode in RescriptRelay where React-specific hooks etc can be configured to not be emitted.

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

No branches or pull requests

1 participant