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

Disable the deprecated react native web lite #138

Merged
merged 1 commit into from
Jan 6, 2024

Conversation

rmarscher
Copy link
Contributor

  • Don't assume that the setImmediate global is available.
  • Add getServerSideProps ssr example.

@rmarscher rmarscher force-pushed the edge-ssr-fix branch 3 times, most recently from cba9654 to 6dcf51c Compare January 5, 2024 03:46
- Don't assume that the setImmediate global is available.
- Add getServerSideProps ssr example.
@rmarscher
Copy link
Contributor Author

It works but react native stylesheets are not rendered with getInitialProps in _document.tsx. Similar to this discussion - tamagui/tamagui#1633 and this issue - vercel/next.js#40440

It seems that switching to the app router may be the only way to get this all working.

@timothymiller
Copy link
Owner

I had not idea react-native-web-lite was deprecated. Good find!

@rmarscher
Copy link
Contributor Author

So this shouldn't really break anything if you want to merge it but the style issues persist. Maybe close this PR and decide on how to proceed with #139

@timothymiller timothymiller merged commit f701007 into timothymiller:master Jan 6, 2024
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

Successfully merging this pull request may close these issues.

2 participants