react-through icon indicating copy to clipboard operation
react-through copied to clipboard

Server/SSR Support

Open Pikachews opened this issue 5 years ago • 4 comments

Unfortunately, it seems this amazing library that does almost everything I want it to do does not support running on the server ☹️ Are there any plans to support this?

Pikachews avatar Jul 21 '20 04:07 Pikachews

Yes it is #13 already planned, significant differences in react core become it is not just update deps, coming soon

oklas avatar Jul 21 '20 12:07 oklas

Hi @Pikachews, I confused a little what you asked, SSR and support of new react core. The support of new react core fetaures was already done some time before. The question about SSR has a subtlety in case of dinamic content like remote api fetching or db responces and auch this library too. There are tests for all cases. Some things must works immidiately, but some thins requires special approach. It dependent from props too check this. May be some documentation improvements required. To clarify what is your problem access to your case is required. So simple example which demonstrate a problem is required. Or better you can contact to me directly, check my profile page here

oklas avatar Jul 25 '20 13:07 oklas

Essentially, I would like https://github.com/oklas/react-breadcrumbs-dynamic to also work on the server, otherwise the initial render of the breadcrumbs is empty until the JS mounts.

Pikachews avatar Jul 27 '20 18:07 Pikachews

Full environment where problem is reproduced is required, (used stack/boilerplate with db/other dynamic data). Not only mention of used lib. Simple example which demonstrate a problem is required.

oklas avatar Jul 27 '20 20:07 oklas