What are synthetic events in React?

 

What are pure components in ReactJS

 

useRef

 

- return 

 

How to fetch data from an api

fetch API

- returns a promise

when it resolves the JSON data is returns

you can iterate in through or dump it into the state

 

- axios

 

- Tansack Query / React Query

 

 How to make an Async call

 

Define the Event Loop

call stack  - methods synchronous execute

timers / promises - asynchronous - goes into the event queue

 

 

closure

 

hydrate