Hacker News new | past | comments | ask | show | jobs | submit login

When I made my first website I read things online like "svelte is better than react" and "solid-js will be the next big thing", and I thought this was an important part of web development. Newbies should read MDN and ignore everything else.



> Newbies should read MDN and ignore everything else.

I think people forget how inaccessible it is for a newbie to start writing pure javascript directly from the API reference.

People need tutorials and walkthroughs, and need to build a an internal understanding of how these all work.

Frameworks help them abstract all that


> I think people forget how inaccessible it is for a newbie to start writing pure javascript directly from the API reference.

That's when you buy a book and try to do practice projects, and learn how everything works.


MDN has exactly those kinds of tutorials and walk throughs! It’s not all API documentation


Which ones? Could you link to them?



I've been using MDN for a decade, and this is a TIL!


React's been around long enough and is dug in deep enough to have decent ROI on knowing fairly well, but the recent obsession with Next.js and SSR...maybe not. Privately I think this might be their undoing.


I agree with learning React, it pops up in all sorts of places, vscode extensions, the windows start menu apparently.

But yes, mixed-rendering, server functions, meta-frameworks, etc. You are in real danger of spending years learning all this stuff and still not being any closer to knowing how computers work.


Which version of react?

Hooks or classes?

Or whatever comes next.


You can still write class-based components in React, no problem. It might not be in vogue, but for the most part, you can still write React 18.x roughly the same way you wrote React 0.x.


You can but are people going to when the first thing you see upon opening the docs is a giant warning telling you not to?

https://react.dev/reference/react/Component




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: