반응형 React.js3 [React] useState UseState - Manage react statusWhat does useState returnLook at useStatus through console.log, an array is displayed.First value is undefined as being the state value currently when we run the app for the first time.( when we render our app component. )Second value is function that we're going to use to update the state. 2022. 12. 18. [React] react active app package.json description react-app/src/package.jsonreact : react is everything we need to actually create our react components.react-dom : react dom is how we add them to the page.react-scripts : react-scripts is how we handle all of our bunding. 2022. 12. 18. [React] React setting up 1. react developer tools extension. - Search "react developer tools" - Add "react developer tools" extension to my browser. 2. Check react developer tools extension - To check react developer tools extension, first acess Airbnb site. ( https://www.airbnb.ca/ ) Click the right mouse button and select "Inspect" from the pop-up screen displayed. - React-related items are displ.. 2022. 12. 15. 이전 1 다음 반응형