Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Unless you learnt react from non-official sources, you can't avoid learning components because they teach them first.


You'd be surprised. The only deeper dive into Components is https://reactjs.org/docs/state-and-lifecycle.html of the "Main Concepts" section, which I skipped in favor of https://reactjs.org/docs/hooks-state.html of the "Hooks" section. Haven't got to "Advanced" yet, hope to stay clear of that.


The React team is working on rewriting the docs to focus on function components and hooks first, as of this quarter:

https://www.reddit.com/r/reactjs/comments/g2pda4/functional_...




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

Search: