couple of question about ssr
rudinandrey opened this issue · 1 comments
rudinandrey commented
Hi, I will try to change riot version from 3 to 6. And learn it.
I'm interesting in SSR and tried to do it. But I got some interesting result.
https://github.com/rudinandrey/riot_ssr_question
- when I try change content through the mount, it mount new tag near with old which was added with SSR. And I get 2 Hello Riot strings.
- when I use hydrate I can't understand how it is neet to send props.
Please help me.
GianlucaGuarini commented
Please test @riotjs/ssr starting from this example https://github.com/riot/examples/tree/gh-pages/ssr
Use the github issues to report bugs with this package. You might use stack overflow to look for help.
Thank you