React Concepts - nagasudhirpulla/electron_react_dashboard GitHub Wiki

React development setup

Use create-react-app - https://code.visualstudio.com/docs/nodejs/reactjs-tutorial

npm install -g create-react-app

Context in React

Official react context explanation - https://reactjs.org/docs/context.html

Beginner explanation to react context - https://javascriptplayground.com/context-in-reactjs-applications/

Context acts like a portal in your application in which components can make data available to other components further down the tree without being passed through explictly as props.

Fragments in React

Official react fragments explanation - https://reactjs.org/docs/fragments.html

Fragments let you group a list of children without adding extra nodes to the DOM