Children
There are special "props" called Children. Sometimes you
There are special "props" called Children. Sometimes you
Modify the code in App.tsx and add following code
React is built from so called "components", The word has
In essence hooks are reusable functions.
Catching rendering errors with an error boundary
Before React version 16.8 function components didn't have
GraphQL is a query language for APIs and a runtime for executing those queries with your existing data.
Hooks were added to React in version 16.8.
In a real-life situation you will of course need to deal with
In React, observables are typically used with libraries like
What are props (properties)? Props are "settings" for a
Implementation of the "Employee Card".
Implementation of the "Employee Card".
The syntax for adding children to a component is the same for
One of the most important - if not the most important -
File: src/App.tsx
File: src/App.tsx
Naming
The React useCallback hook returns a memoized callback function.
React Context is a way to manage state globally.
The useEffect Hook allows you to perform side effects in your components.
The useReducer hook is similar (in functionality) to
The useRef has two purposes:
The React useState Hook allows us to track state in a