React, Redux, MSW, Faker, TailwindCSS & tailwind/headlessUI
-
Reducer:
src/features/AddressBook/addressBookSlice.js
Governs the applicationsselectedContactId
and currentphrase
for searching. -
RTK Query:
src/features/Api/api.js
RTK Query automatically creates a slice of state handling api calls, caching the
responses and refreshing when polling is enabled. Cache's can be invalidated by
the tags applied at each endpoint reducer.
Intercepts HTTP requests made by the client and mocks the responses.
Only starts when NODE_ENV=development
Used to generate mock data returned by MSW
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
Launches the test runner in the interactive watch mode.\
Builds the app for production to the build
folder.\