How to Create a Custom React Hook to Fetch and Cache Data

There is a high possibility that a lot of components in your React application will have to make calls to an API to retrieve data that will be displayed to your users. It’s already possible to do that using the componentDidMount() lifecycle method, but wi… Read more

Similar

Beyond OnClick: Handling Events in React

Great modern web applications are highly interactive and effective event management is critical to giving users the control they want. Luckily for us, React makes handling events in a cross-browser compatible way easy by abstracting the underlying DOM mec... (more…)

Read more »