DEV Community

Reid Aumann
Reid Aumann

Posted on

Learning React

I've been learning about React and other JSX basics for the last few days, and I even got to create a simple tic-tac-toe game that allows you to go back to whichever move you like.

Here's what I've learned so far:

  • use className where you would use class in HTML
  • use JS features like for loops and array .map() functions to render lists that have several components
  • to have two child components communicate with each other, declare the shared state in their parent component
  • you can only have one export default function per file

Top comments (0)