See the working page
You are given the markup for the App
, TodosList
, TodoFilter
, TodoModal
and Loader
components. Load data from the API and show it using the given components.
- Load the todos when the
App
is loaded and show them usingTodoList
; - Show the
Loader
when waiting any data from the server; - Use the
wait
function given in theapi.ts
to check if theLoader
works as expected; - When the
Show
button is clicked open theTodoModal
with a selectedtodo
; - Don't forget to load user details (replace
1
with the actualuserId
); - Show the Loader while waiting for the user;
x
button should close the modal;- The
select
should filter todos by thecompleted
status:all
,completed
andactive
(not completed) todos; - Use the
input
in theTodoFilter
to filter thetodos
bytitle
;- show the
x
button when thequery
is entered; - the
x
button should clear thequery
and reset the todos;
- show the
- Implement a solution following the React task guideline.
- Use the React TypeScript cheat sheet.
- Open one more terminal and run tests with
npm test
to ensure your solution is correct. - Replace
<your_account>
with your Github username in the DEMO LINK and add it to the PR description.