REACT 1, React props, event handlers, basic useState(), useEffect(), React forms/inputs and Class components
npx create-react-app (name of the app)
//its /public folder contains the app root
//its /src folder has the different page components/*The element position depends on the index used*/
<div className='position-relative'>
<h1 className='position-absolute' style={{ [["left", "right"][0]]: "0%" }}>
Left element
</h1>
<h1 className='position-absolute' style={{ [["left", "right"][1]]: "0%" }}>
Right element
</h1>
</div>React Props, event handlers, and useState

React useEffect with setInterval()



ReactJs forms, inputs, and submit
Class component, useState() and fetch()


Last updated