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

refactor(frontend): concurrent rendering in React 18 #42

Merged
merged 2 commits into from
Jun 25, 2024

Conversation

eatyourgreens
Copy link
Contributor

@eatyourgreens eatyourgreens commented Jun 24, 2024

@eatyourgreens
Copy link
Contributor Author

Seems to be working, without crashing, when I test it, but I'll do some more rigourous testing tomorrow morning.

@eatyourgreens eatyourgreens force-pushed the concurrent-rendering branch 2 times, most recently from f164053 to 92185ed Compare June 24, 2024 21:26
@eatyourgreens eatyourgreens force-pushed the concurrent-rendering branch 4 times, most recently from 1268811 to 16a42a0 Compare June 25, 2024 09:55
- use the new `createRoot` API in React 18.
- refactor the map layers to avoid an error in React Map GL when the map first mounts.
@eatyourgreens eatyourgreens merged commit 7a1052a into main Jun 25, 2024
1 check passed
@eatyourgreens eatyourgreens deleted the concurrent-rendering branch June 25, 2024 10:05
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.

Concurrent rendering in React 18 crashes the map.
1 participant