You should spend no more than 4 hours on this test assignment.
When you are done with the test, please send a link to your repo to your recruiter. Thank you for your time and interest in Slate!
For this test assignment, you will have to create your own simple state management library like Redux or MobX to handle events and store data across the application.
- You should store your library code in the
/lib
folder of this repository. - You are free to use any architecture pattern for designing your library. It can be Flux, Redux, BloC, etc.
- Your library should be integrated with a simple example app in
src
folder.- You should create a form component for creating a new incident
- When an incident is created, an action must be dispatched notifying the rest of the app that a new incident is created
- Home page should get a list of incident from your library's store instead of hardcoded values
- You should bring some essential styling to the app (currently it has no styling at all).
- You can use any styling framework you want.
- The information should be displayed appropriately on devices of all sizes
You will be judged by following criteria:
- Re-usability of your state management library
- Amount of boilerplate code
- Usage of new language and library features as you see fit
- Component styling
- Component breakdown (do not put everything into one big component, create a few smaller ones instead)
This project was bootstrapped with Create React App.
Run npm start
in the root of the project.