Implementing a box with two dates and integrating that box into the event lists which means it can be used to filter the list of crime events. The box is also modular so it can be used in other types of components/pages
Why
So the user of the website can filter crime events by a date interval. The box was made modular so we can reuse the code and save some time in the future.
How
Making a new react component called datePickerBox and adding that component to the listView component. The component has parameters for state setters so that the component can be used to modify states in its parent.
Important information
The 4th task in #14 can't be implemented as the function fetching data from the police api needs to be reworked.
What
Implementing a box with two dates and integrating that box into the event lists which means it can be used to filter the list of crime events. The box is also modular so it can be used in other types of components/pages
Why
So the user of the website can filter crime events by a date interval. The box was made modular so we can reuse the code and save some time in the future.
How
Making a new react component called datePickerBox and adding that component to the listView component. The component has parameters for state setters so that the component can be used to modify states in its parent.
Important information
The 4th task in #14 can't be implemented as the function fetching data from the police api needs to be reworked.