Skip to content
  • Unlock Pro
  • Log in with GitHub
Profile
OverviewSolutions
4
Comments
1
Javier de Santiago
@javierdesant

All comments

  • Daniel Michael Villanueva•290
    @DanVillanueva30
    Submitted 9 months ago
    What are you most proud of, and what would you do differently next time?

    At first, I thought it would be easy to complete, but when I started coding I realized the importance of the little details. To validate the fields of the personal information form I used react-hook-form, this is a tool that I've recently started to use and I thought it was a great opportunity to implement it, However I later realized it might not be the best option because this is the only form and component where I can use it. Although it makes input validation easier I will start working on a solution without this tool.

    What challenges did you encounter, and how did you overcome them?

    The most challenging part was setting up the context for the global state, especially the function that updates the selection of add-ons. Initially, it was poorly written because it only accepted a value with a defined type and did not consider that it could also be updated with information from the previous state. It took hours of research, trial, and error, but in the end, I managed to find a solution.

    Multi Step form with TypeScript and more...

    #react#react-router#tailwind-css#vite#typescript
    1
    Javier de Santiago•110
    @javierdesant
    Posted 9 months ago

    Hey @DanVillanueva30, ¡buen trabajo!

    Me gusta lo que has hecho, implementando react router y useContext. Eso sí, ten cuidado con tu barra lateral, si no validas los pasos antes de redirigir al usuario te pueden enviar un formulario vacío...

    Por lo demás está bastante bien, Sigue así 👍

    Marked as helpful
Frontend Mentor logo

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub