Saeed Badghaish·Oct 2, 2022Make requests with React QueryYou can make requests with the useQuery hook, which takes an identifier for your query (in this case, since we are fetching user data, we…
Saeed Badghaish·Feb 2, 2022Make React Context Easier with a Custom HookReact Context is a great way to pass data across our component tree. It allows us to pass data into whatever component we like without…
Saeed Badghaish·Jan 22, 2022Pass props more easily using the object spread operatorWhen it comes to working with components, we normally pass down data with the help of props. We create a prop name and set it equal to its…