top | item 37436392

(no title)

uryga | 2 years ago

> But their routing things locks you into NextJS as a framework.

I'm confused by this -- how is a framework supposed to offer routing in a way that doesn't "lock you in"? are you "locked into" React Router if you use that? what's the alternative?

> RSC locks you into [Vercel's] hosting solution

how? you can self-host it if you want.

discuss

order

DanielHB|2 years ago

> are you "locked into" React Router if you use that?

Every dependency if large enough has lock-in. The problem with NextJS is how coupled everything is. In NextJS if you decide to stop using it you need to also rewrite your routing. React-router doesn't care about your bundler, or your deployment flows or your use of RSC, etc.