3 ms·
Is there any examples of server-side rendering that pre-determines a masonary layout for the content? Like: Given these images, and this window size, here's a
by slimebot80 2y ago
Is there any examples of server-side rendering that pre-determines a masonary layout for the content?
Like: Given these images, and this window size, here's a calculated layout to make them all look nice...
I figure this would be more performant than any type of JS polyfill
- echoangle 2y agoHow would this work when loading the page the first time? Would you check the window size and reload once just to get the first layout? And would you reload the page every time the window is resized?