・
Review 1
・
Average rating 5.0
I'm studying React by purchasing Sopl's book. However, I'm reading the book and watching the video, but it doesn't work from Chapter 3, so I'm asking for your help. I installed vs according to the book, and the vs logo came up fine, but when I entered Book.jsx and Library.jsx from page 107 and modified index.js and ran npm start in the terminal, the vs logo that appears after vs installation keeps coming up. There's no separate bulletin board for asking questions, so I'm posting this. Is there a separate bulletin board for asking questions? I understand the book, but when I try to practice and input other content from the book, the same thing happens and only the vs logo keeps coming up. Where did I make a mistake? I wish I could upload a screenshot of the content, but I can't, so I'm a little frustrated. Thank you for reading my disorganized writing.
Thank you for leaving a review, Jjuun Ae-bi. The book's content was written based on React version 17, and the environment you are currently practicing in is probably the latest version, React version 18. The code in index.js has changed slightly due to the change in version, so it may not run. Please refer to the code in the link below and change it to use createRoot. https://github.com/soaple/first-met-react-practice-v18/blob/master/src/index.js And from now on, it would be good to refer to the practice code based on React version 18 in the link below. The other parts are the same, and you can see that only the content in index.js has changed. https://github.com/soaple/first-met-react-practice-v18 If you continue to have problems, there is a separate Q&A board in the lecture, so please leave a question there!