a quick video showing how to use React Router 4 Switch.
gpltaylor (GPLTaylor) #1
marzelin (Marcin Z) #2
You should’ve add
exact prop on
path="/aboutus/" because without it the component hijacks all calls to
path=/aboutus/:username as it is higher in source code and matches that path.