Best of AxiosSeptember 2022

  1. 1
    Article
    Avatar of syncfusionSyncfusion·4y

    JavaScript API Mocking Techniques

    API Mocking Mocking is a client-side mocking framework that mocks the API in the browser by using the Pretender library. It has many built-in tools: serializer, route handlers, database, models, fixtures, and factories. It enables emulating dynamic behavior between the front end and back end, rather than mocking the same response over and over again by hitting an endpoint.

  2. 2
    Article
    Avatar of devtoDEV·4y

    How to protect a route with JWT Token in React using Context API and React Cookies

    The routes will only be accessible when users have the token saved in cookies or local storage. We’ll learn how to protect a route by JWT authentication in react-router-dom v6.

  3. 3
    Article
    Avatar of thisdotThis Dot·4y

    Using Zustand in Your Next React Project

    We will be focusing on making API calls right from our Zustand store, and persisting state to either session or local storage. The project will be able to search for users, and get more information about a user. A link to the project repo can be found here. If you have any questions or run into any trouble, feel free to reach out on Twitter or Github.