Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Invoice App using zustand, radix-ui, react hook forms and nivo

#react#react-router#zustand#vite
dia ♡• 200

@diaasaur

Desktop design screenshot for the Invoice app coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
5guru
View challenge

Design comparison


SolutionDesign

Solution retrospective


Phew, finally done! This was not as easy as it looked it. I used radix-ui primitives for accessible headless ui components. Added a lil bonus dashboard with yearly reports showing pie/line chart using nivo (that's where accessibility went out of the window how do people make charts accessible???). Any feedback/bugs/issues lmk!!!

Community feedback

@mcornale

Posted

Hi @diaasaur, great job!

One thing I would suggest you is to sync the filters with the url. Imagine you add to this project pagination, one user should be able to reload and see just what he needs, for example: page 2 of invoices with status paid. It is typically a good thing in web apps! If you want, check my solution of this challenge!

Marked as helpful

1

dia ♡• 200

@diaasaur

Posted

@mcornale oh yea! you are absolutely right. thank you!

0
bunee• 2,060

@buneeIsSlo

Posted

Hey, Dia! I don't have any feedback on this one, but I must say the solution you've created is amazing! Everything functions smoothly, and incorporating a dashboard is an excellent idea. I've been playing around with radix-ui, and I believe I can learn a lot from your well-structured code, so thank you. Keep up the great work! :)

1

dia ♡• 200

@diaasaur

Posted

@buneeIsSlo tysm! :3

1

Please log in to post a comment

Log in with GitHub
Discord logo

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord