kadirahq / flow-router

Carefully Designed Client Side Router for Meteor
MIT License
1.09k stars 193 forks source link

SSR issue when trying to render array of data #556

Open dufia opened 8 years ago

dufia commented 8 years ago

I wanted to server side render a list of 25 users. It renders it nicely on the server.

When subscription gets ready on the client side, Meteor receives data in chunks. For example, first 5 users, then another 5, then another 15. It messes with react, because data is inconsistent (it expects all 25).

It happens fast but you can see data flashing. Of course I get this warning:

Warning: React attempted to reuse markup in a container but the checksum was invalid.

What do you suggest?