Remix.run Logo
itopaloglu83 13 hours ago

It’s mind blowing when you check the generated code, because it goes over 50 elements deep for a simple looking website.

Makes me think that there’s no way this is computationally efficient either.

crooked-v 13 hours ago | parent [-]

That particular issue is nothing to do with Next or React and everything to do with how HTML/CSS is a really shitty layout engine.

maccard 12 hours ago | parent [-]

Hard disagree. This is JavaScript frameworks building a hierarchy for themselves and ignoring any sort of complexity on the generated DOM. There’s 0 reason for these 8-10 nested divs other than that’s what the framework spits out.