-
-
Notifications
You must be signed in to change notification settings - Fork 118
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
update example to React v16.8.1 #70
Conversation
💯💯💯 |
Wait does 16.8.1 have the suspense stuff we need? |
🤷♂️ |
lol |
Yeah so we are pretty screwed now because react-cache was not published with 16.8.1 like the rest of the react packages. This means that the platform's Suspense stuff will not work. |
Yeah it looks like react-cache is incompatible at the moment with 16.8.1 |
Can you just vendor the parts of react cache that you use? It’s not ever supposed to be dependent upon. |
Let me try that out. |
Yeah so it looks like react-cache was improperly included as a real dep and not a peer dep. However, to run the suspense focused demo, the suspense components do indeed rely on reach-cache being compatible with the version of react. I can vendor react-cache, but will need to go through and figure out what is actually causing the issue. When I try to run the example with 16.8.1 I get the following error from react-cache alpha 1.
|
Alright going to try to build react-cache from master |
You can find readContext implementation in a bunch of places in our tests. Note it’s not guaranteed to be stable either. |
Hrmmmmmmm. This is an afternoon or so of work if someone wants to do it. We could also write our own cache ;-) and just not expose it. It is not very likely a user would want to flush an image cache ever. |
@gaearon figured it out. thanks for the help! |
No description provided.