Math.random() overwritten on hydration
I have a skeleton component which I want to have a slight randomness to its width, so I have
However, on hydration, the inner text of the span is removed.
I have 2 questions:
1) Why, instead of re-rendering with different randomness, does it just disappear?
2) Can I stop hydration of this skeleton component to only use the ssr sent inner text?
- Raz
However, on hydration, the inner text of the span is removed.
I have 2 questions:
1) Why, instead of re-rendering with different randomness, does it just disappear?
2) Can I stop hydration of this skeleton component to only use the ssr sent inner text?
- Raz

