vcarlV
Reactiflux4y ago
15 replies
vcarl

If you use React, you should be using a React framework

Andrew Clark (@acdlite)
If you use React, you should be using a React framework. If your existing app doesn't use a framework, you should incrementally migrate to one. If you're creating a new React project, you should use a framework from the beginning.
Likes
1404
Retweets
144

Twitter

1/23/23, 7:52 PM

Andrew Clark (@acdlite)
Your React framework of choice should have built-in solutions for data fetching, routing, and server rendering. Frameworks don't treat these as independent concerns — they provide deeply integrated solutions that are easy to use and result in excellent performance out of the box.
Likes
136

Twitter

1/23/23, 7:52 PM

Andrew Clark (@acdlite)
Which framework you choose is an important decision, but it's much less important than choosing to go with a framework in the first place. Personally, I'd go with Next.js, Remix, or Expo.
Likes
170

Twitter

1/23/23, 7:52 PM

Andrew Clark (@acdlite)
If you choose to forgo a framework, what you're really choosing is to build your own bespoke framework, one that's likely much worse than what you'd get off the shelf. Even if you think your bespoke framework is better than the alternatives today, will that be true in a year?
Likes
135

Twitter

1/23/23, 7:52 PM

Andrew Clark (@acdlite)
It takes lots of time and energy to keep up with the state of the art. Are you ready to become a framework maintainer? Or are there better things you should be doing with your time?

Twitter

1/23/23, 7:52 PM

Was this page helpful?