Hey folks. I'm creating a discord clone. In which I'm managing the state by checking current path and if the page is dynamic, I'm checking its params.id, Can you guys suggest me if this is a nice way to do this or should I use the Form method to setting the apiUrl into route.
Live: https://discording.vercel.app
Welcome to Remix!