Skip to content

coycoylaniba/reactor1220-tasks

Repository files navigation

Reactor1220 Dev Application

Task 01

For task 01, I removed the React import and just imported what hook is needed and for the component declaration and export, I just followed how shadcn exports its components because, for me, it's cleaner and more readable that way. For fetching the data, I like just like not to crump up code on useEffect hooks and just simply call fetchArticles() function where it all handles the logic for fetching the data.

Task 02

For task 02, I just implemented basic search using .include() method and simple design.

Task 03

For Task 03, I implement to only start the timer if the counter state is not equals to 10, and added setTimeout() on start function with a 1 second timeout to ensure the timer is exactly 10 seconds.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors