Open samaleksov opened 8 years ago
This package doesn't support React 15 yet... https://github.com/aickin/react-dom-stream/issues/18
Yeah, sorry for the delay, I've been hard at work trying to lay the groundwork for integrating streaming into react core.
As of now, react-dom-stream
only works with React 0.14.x. If the PR I've been working on goes through, there will be a much more sustainable strategy for keeping streaming in React as React goes through upgrades, but it will require another rewrite of react-dom-stream
. In that case, I think it's unlikely that React 15 will ever get streaming support. It's not worth it to me to update react-dom-stream
for React 15 if the plan is to immediately dump the code base for React 16.
If my PR doesn't go through, I'll re-evaluate how best to support streaming going forward.
Thanks for your engagement, and please let me know if you have any questions or comments!
So is it safe to assume this package will never support React 15?
Hi @aickin. Great job really ! I had similar problems with this project. I already read (after some time spent) that React already supports streams in version 16+. Could you update the read.me on the beginning with the compatibility of this project with React versions and a line saying this project is not needed anymore pointing to your article ? I think that would help a lot of people, if they stumble upon this project first like me. Big thanks
Hi guys, I was making a small POC with the stream SSR, and React seems to be complaining about the checksum while reattaching the DOM.
Just wanted to know if I'm doing something wrong or this is just a version difference between the react-dom-stream fork and react-dom.
This is the warning from React:
This is the code I've used to attach the client in both tests:
This is what gets rendered with the original React DOM:
The code that renders it:
This is what gets rendered with react-dom-stream:
and the code that renders it:
Here are my dependencies:
Let me know if I can help with something and thanks for the great work Sasha, Sam.