Handle Simple Routing with preact-router

Shane Osbourne
InstructorShane Osbourne

Share this video with your friends

Send Tweet

Some applications only need a very minimal routing solution. This lesson will cover a practical example showing the router in use. We’ll build a simple search feature that accepts user input and then calls the github API. We’ll see how to access route parameters, how to manually & automatically navigate around, and finally how to handle un-matched path. https://github.com/developit/preact-router