Tips learning ReactJS

Just learned ReactJS, and yes! it is great for frontend dev

Tips for learning ReactJS:
  • Forget your knowledge about jquery, really
  • Use create-react-app to setup https://create-react-app.dev/ 
  • Every part of website is component, for example <div> <span> <p> is components
  • Reuse existing components, search react-* in https://www.npmjs.com/
  • Think about updating values in this.state then your website will change automatically

Comments

Popular posts from this blog

Ports to allow for whatsapp call

Manually clean up zimbra zmcat/zmcpustat exploit

Keychron K2 in Linux