3 ms·
Yes, that's a good idea. You'd just need to introduce a little wrapper around the client-side rehydrate to move the contents of the <noscript> tag out of the <
by couchand 12y ago
Yes, that's a good idea. You'd just need to introduce a little wrapper around the client-side rehydrate to move the contents of the <noscript> tag out of the <noscript> before calling React.render.
Then again, you don't really need <noscript> in that case. It's rendering server-side, so the page already displays correctly, you just need to make sure all your links work.
- aphexairlines 12y agoI've been burned by trying to read the contents of noscript nodes before. Some browsers don't support that at all.
- couchand 12y agoOh wow that's annoying.