DEV Community

Discussion on: How to deploy React App to GitHub Pages

Collapse
 
yuribenjamin profile image
Ibrahim Ragab

Hey thanks for your comment, handling route in react can easly done by using react router package, not by default way as i saw in your app, also read about Single Page App, and declaritive programming
github.com/ReactTraining/react-router
Happy Hacking!

Collapse
 
tianyiz8 profile image
tianyiz8

Hello! Could you be more specific? I did use react-router-dom, and where are declaritive programming and Single Page App? I still have no idea how to make it work.
Thanks!

Thread Thread
 
yuribenjamin profile image
Ibrahim Ragab

if so then why you declare a tag to route
check
reacttraining.com/react-router/web...