pico-router icon indicating copy to clipboard operation
pico-router copied to clipboard

Simple framework agnostic UI router for SPAs

Results 10 pico-router issues
Sort by recently updated
recently updated
newest added

Never mind, just testing out to fork, modify and create pull request...

Is this project dead? It looks like multiple of its packages are missing from npm.

Need a more detailed Svelte example. Perhaps with 2-3 components and an animated transition. Info on where to put code (App.svelte?), etc...

I am trying your example svelte-animated and getting this error ``` TypeError: res.redirect is not a function ```

Hi, https://github.com/alshdavid/crayon/blob/0803146781fa2f9e5d57e05a6044a52b5643e211/examples/svelte/svelte-animated/src/main.js#L22 Shouldn't it be `req.redirect` instead of `res.redirect` ? Same thing for `app.path` with `res.mount`. Or should it be `(res, req) =>` instead of `(req, res)` ?

## Proposed changes Svelte examples were broken because in main.js they used res.redirect and res.mount instead of req.redirect and req.mount ## Types of changes What types of changes does your...

Is route guard middle ware doable? is there docs for how to write a middleware controller to all me to preload route data or check for auth etc?

Add push/pop support for preact ```typescript const app = crayon.create() app.push(Component) app.push(ComponentB) app.pop() app.pop() ```

```typescript const g1 = crayon.Group() const g2 = crayon.Group('') const g3 = crayon.Group('/') ``` Should all behave the same