Mock an API for Local Development in React with Mirage JS

InstructorSam Selikoff

Share this video with your friends

Send Tweet

Mirage JS lets you mock out production APIs directly alongside your frontend React code. You can tweak the data or force a network request to hang, so you can quickly design different states of your application. In this way Mirage lets you build every state of your UI regardless of the state of your production API.

Check out Mirage's React quickstart here.