Remix.run Logo
krzyk 4 days ago

> What I don’t get is why I’d use it if I can’t write a reasonable complex SPA with it.

Because most webpages don't need to be SPAs. I miss the days of jquery and html+css, where everything was snappy, and wasn't an SPA.

CooCooCaCha 4 days ago | parent [-]

Plain react is arguably just as simple if not simpler than jquery.

And I’m not saying every site needs to be an SPA. I’m saying if I can write everything from a simple site to an SPA in a single framework then why not use that for everything?

H1Supreme 4 days ago | parent [-]

How do you handle routing with plain React?

codedokode 3 days ago | parent | next [-]

React is an implementation of View component of MVC, View is responsible for displaying Model contents, not for handling routes. You are trying to use the wrong tool.

CooCooCaCha 4 days ago | parent | prev [-]

Using built-in browser apis. Not sure what you’re getting at.