Understanding Reactjs Project Structure and Best Practices
reactjs ReactJS is a declarative, efficient, and flexible JavaScript library for building reusable UI components It is an open-source, component-based front end
เริ่มต้นสร้างโปรเจค ReactJS ด้วย create-react-app Create React App คือ Command Line Tool ที่ช่วยสร้าง Project React ให้ง่ายและรวดเร็วขึ้น มีการติดตั้งเครื่องมือต่างๆ reactjs สรุปก็คือ ReactJS Hooks คือฟังก์ชันที่ทำให้คุณสามารถ 'hook' เข้าไปในฟีเจอร์ ReactJS state และ lifecycle จาก functional component ได้ พวกมันเป็น opt-in basis และรองรับเวอร์ชันเก่าได้
reactjs ReactJS is a declarative, efficient, and flexible JavaScript library for building reusable UI components It is an open-source, component-based front end
reactjs เริ่มต้นสร้างโปรเจค ReactJS ด้วย create-react-app Create React App คือ Command Line Tool ที่ช่วยสร้าง Project React ให้ง่ายและรวดเร็วขึ้น มีการติดตั้งเครื่องมือต่างๆ
สรุปก็คือ ReactJS Hooks คือฟังก์ชันที่ทำให้คุณสามารถ 'hook' เข้าไปในฟีเจอร์ ReactJS state และ lifecycle จาก functional component ได้ พวกมันเป็น opt-in basis และรองรับเวอร์ชันเก่าได้