React
Learn to become a modern React developer by following the steps, skills, resources and guides listed in this pack.
Learn to become a modern React developer by following the steps, skills, resources and guides listed in this pack.
key prop to specify a unique key for each item. This key is used to identify which item to update when you want to update a specific item.
Visit the following resources to learn more:
useEffect is a special hook that lets you run side effects in React. It is similar to componentDidMount and componentDidUpdate, but it only runs when the component (or some of its props) changes and during the initial mount.
Visit the following resources to learn more:
useCallback is a React hook that returns a memoized version of a callback function. It’s used to optimize performance by preventing unnecessary re-renders. Specifically, it helps avoid recreating functions when their dependencies haven’t changed, which can be useful when passing callbacks to child components that rely on referential equality to prevent re-rendering.
Visit the following resources to learn more:
useRef is a React hook that provides a way to create a mutable reference that persists across component re-renders. It stores a value that doesn’t cause re-renders when it changes.
Visit the following resources to learn more:
useMemo is a React hook that memoizes the result of a function. It is used to optimize performance by caching the result of a function and returning the cached result when the inputs to the function have not changed.
Learn more from the following resources:
useReducer: An alternative to useState. Accepts a reducer of type (state, action) => newState, and returns the current state paired with a dispatch method. (If you’re familiar with Redux, you already know how this works.)
Learn more from the following resources:
useContext Hook lets us share data between components without having to pass props down through every level of the component tree.
This is particularly useful when many components need to access the same data or when components are deeply nested.
Visit the following resources to learn more:
useState hook is used to manage the state of a component in functional components. Calling useState returns an array with two elements: the current state value and a function to update the state.
Visit the following resources to learn more:
flex, pt-4, text-center and rotate-90 that can be composed to build any design, directly in your markup.
Visit the following resources to learn more:
unstyled, fully accessible primitives, giving them complete control over the appearance and behavior of their UI elements.
Visit the following resources to learn more:
comprehensive set of components and tools that simplify the process of building user interfaces, allowing developers to focus on functionality and design. With a strong emphasis on flexibility and ease of use, Ark UI enables rapid prototyping and scalable solutions, ensuring a consistent and polished user experience across various devices and platforms. Its modular architecture and extensive documentation make it an excellent choice for developers looking to enhance productivity and maintain high standards in their UI design.
Visit the following resources to learn more:
react-spring, framer-motion, and GSAP (GreenSock Animation Platform). CSS transitions are ideal for simple animations, where you can toggle classes or manipulate inline styles to create smooth transitions. For more complex and interactive animations, libraries like react-spring provide a declarative approach, allowing you to create animations by defining spring physics or interpolating values. framer-motion offers a rich API to handle complex animations, gestures, and even layout transitions with ease. GSAP is another powerful library that excels at creating high-performance animations, offering fine-grained control over every aspect of the animation process. These tools integrate seamlessly with React’s component-driven architecture, enabling you to create responsive and dynamic user interfaces.
Visit the following resources to learn more:
GSAP (GreenSock Animation Platform) is a framework-agnostic JavaScript animation library that turns developers into animation superheroes. Build high-performance animations that work in every major browser. Animate CSS, SVG, canvas, React, Vue, WebGL, colors, strings, motion paths, generic objects…anything JavaScript can touch!
Visit the following resources to learn more:
Suspense component.
The wrapped component throws a promise when it needs to suspend rendering.
The Suspense component catches the promise and renders a fallback component while the promise is pending.
When the promise resolves, the wrapped component is rendered with the required data.
Visit the following resources to learn more: