Skip to content

Instantly share code, notes, and snippets.

@stivncastillo
Last active August 8, 2021 20:04
Show Gist options
  • Save stivncastillo/aa278cc6a945c5845ba37dddbfa2a9c7 to your computer and use it in GitHub Desktop.
Save stivncastillo/aa278cc6a945c5845ba37dddbfa2a9c7 to your computer and use it in GitHub Desktop.
Nested Routes
import React from 'react'
const DashboardPage = () => {
return (
<div>
Private Dashsboard
</div>
)
}
export default DashboardPage
import React from 'react'
const LoginPage = () => {
return (
<div>
My fucking Login page
</div>
)
}
export default LoginPage
import React from 'react'
const ProfilePage = () => {
return (
<div>
Hi, this is my profile
</div>
)
}
export default ProfilePage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment