Hi everyone,
I did this frontend mentor challenge and I have a couple of questions
live site: https://shorty-url-shortening-api.vercel.app/
repo: GitHub - onna4/shorty-URL-shortening-API: shorty URL shortening API built with react
first: when i write a link to be shortened it gives me the previous result. I want to understand why?
the other thing is that when I use fetch api with .then method inside a useEffect it just doesn’t work… maybe there’s a mistake in the code (i commented the code out)
this is my first time building a website with api so any recommendation for improving are welcome