alshdavid / crayon-router

Simple framework agnostic UI router for SPAs
MIT License
327 stars 13 forks source link

[core] array of paths which don't re-render if a specified path is accessed #22

Closed alshdavid closed 5 years ago

alshdavid commented 5 years ago
app.paths([
    '/one',
    '/two',
    '/three'
], (req, res) => {
    console.log('Should only run once when navigated to any route between these')
})
alshdavid commented 5 years ago

Probably a bad idea