Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 2 years ago

Responsive URL shortener API

react, tanstack-query, typescript, vite, tailwind-css
Jose Monge•340
@josemongedev
A solution to the URL shortening API landing page challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


I first used the useLocalStorageState hook from the react-localstorage-hooks package to store the links on the localStorage.But due to some version conflicts I replaced with an good old custom hook. I also used react query to do the shorten url requests to the API. I'm not the experienced with React Query, but it seems quite similar to RTK query which I've used before. In general, it's a nice fun challenge.

Any tips or questions you might have are welcome!

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Jose Monge's solution.

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

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

Frontend Mentor

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

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