Skip to content

Environment to learn react, TypeSript, Tailwind, NextJs, chnui, other frontend related parts.

Notifications You must be signed in to change notification settings

disooqi/learn-react

Repository files navigation

Learn React

React components are JavaScript functions that return markup.

React components need to return a single JSX element and not multiple adjacent JSX elements like two buttons. To fix this you can use Fragments (<> and </>)

By default, all child components re-render automatically when the state of a parent component changes.

Addingexport defaulttells your index.js file to use the Game component as the top-level component instead of your Board component.

It’s strongly recommended that you assign proper keys whenever you build⚠️dynamic lists⚠️.If you don’t have an appropriate key, you may want to consider restructuring your data so that you do.

About

Environment to learn react, TypeSript, Tailwind, NextJs, chnui, other frontend related parts.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published