Loading tutorials
useState, and useEffect. You should also know JavaScript closures and destructuring.1 min readuseState, useEffect, destructuring, closures, and promises. A custom hook is a function that uses React hooks and starts with use. Its parameters are the inputs, and its return value is the public API.1 min readuseState, useEffect, promises, and closures. Custom hooks can hide asynchronous work, subscriptions, and cleanup while keeping a component’s API small.1 min read