Skip to content

Repository files navigation

Synonym Test

Install & run the Project

  • execute npm install or bun install
  • execute npm run dev or bun dev
  • execute tests with npm run test or bun test

How to simulate offline

  • Click on the button OR
  • Open Dev Tools
  • Go to Network
  • Change from no throttling to Offline

Known issues or limitations

  • Because I need it to decide which system to use, button or browser API (prioritize), I decided to not go for networkObserver
    • Why? It makes everything quite complicated if you have a button & observer.
    • But the component was going to check if we're online to setOffline, quite simple but working with the button was not working and I preferred to have something local. So I didn't have time to put everything together
    • Will be in a commit after the 3 hours mark, tho lack of time
  • Not enough tests

What you would improve with more time

  • More tests
  • Order and better filters using nuqs.
  • Change next to tanstack start, there's no real purpose of using SSR or use of RSC
  • Better Design, but I never used Dexie as library so I took time to understand how it was being used.

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages