5 ms·
I tried nextjs because I thought it would be a good way to learn React but I found it really confusing. Is it really better to master React first then try nextj
by x87678r 6y ago
I tried nextjs because I thought it would be a good way to learn React but I found it really confusing. Is it really better to master React first then try nextjs?
- gkilmain 6y agoA solid understanding of React is helpful. Mastery of React completely unnecessary.
- mulholio 6y agoI think create-react-app is much more beginner friendly. Fewer concepts to learn. Rolling your own or using script tags to begin with is also an option (see this course for an example: https://egghead.io/courses/the-beginner-s-guide-to-react https://egghead.io/courses/the-beginner-s-guide-to-react)
- revicon 6y agoAnd create-react-app would be all I would ever need except that SEO on single page apps that don't have data loaded upon load really sucks compared to server side rendered pages. Is there a way to build a site using create-react-app and enable server side rendering without implementing a whole other framework like Nextjs?
- jerrycruncher 6y agoWe used React Router's ssr process described here[1] on my last React project. It worked ok, but there's a bit of hoop-jumping to go through if your pages are populated by async data. [1] https://reactrouter.com/web/guides/server-rendering https://reactrouter.com/web/guides/server-rendering
- mulholio 6y agoNext.js really isn't that bad. If you need SSR, it is definitely the best way to go.
- jerrycruncher 6y agoThis is the resource I used (as someone who's been doing web development for ~20 years) to get a a basic understanding of React. It, plus some side projects, was enough to get me up to speed: https://daveceddia.com/pure-react/ https://daveceddia.com/pure-react/ I'm sure there are others that are free; but, this is what worked for me.
- deleted 6y ago[deleted]