React Shortcuts Typescript A set of useful React hooks and components. Hooks useCachedState - A hook that saves the previous state. Components ErrorBoundary - Is a lifecycle method in React that is called when an error is thrown during rendering, in any of the children of a component.