ctrlplusb / react-component-queries

Provide props to your React Components based on their Width and/or Height.
MIT License
183 stars 12 forks source link

SSR issues resolved? #90

Closed loganpowell closed 6 years ago

loganpowell commented 7 years ago

Great work on making modularity a reality in React! Does this library resolve the SSR issues with sizeme in any way?

ctrlplusb commented 7 years ago

Hey @loganpowell, thanks!

Unfortunately not. It will suffer much of the same issues as described on react-sizeme. If you plan to use it within SSR you could equally set the noPlaceholder configuration value in order to ensure that you get something rendered.