MENU

Fun & Interesting

URL Params as State in React (Complete Tutorial)

Cosden Solutions 24,622 8 months ago
Video Not Working? Fix It Now

Try Brilliant Free for 30 days + 20% Off Premium Membership → https://brilliant.org/CosdenSolutions 🚀 Project React → https://cosden.solutions/project-react 📥 Import React (Newsletter) → https://cosden.solutions/newsletter?s=ytd-uqsr Source Code → https://github.com/cosdensolutions/code/tree/master/videos/long/react-url-as-state Join The Discord! → https://discord.cosden.solutions VSCode Theme | Font → Material Theme Darker | Menlo, Monaco "monospace" In this video I will show you how to use the URL query params as state in React. Using the URL as state is a very powerful solution that allows you to persist state across refreshes, and even send the state along with the URL to someone else! We will also be refactoring a component and following all the design patterns and best practices in React.

Comment