mrozbarry / hyperapp-router

A modern router for hyperapp
http://hyperapp-hn.surge.sh/
21 stars 3 forks source link

fixed(navigation): propagate options to navigate function. #14

Closed diasbruno closed 3 years ago

diasbruno commented 3 years ago

Fixes #4.

This patch fixes the propagations of the options to the navigate function.

const redirect = href => Navigate({ href, options: { type: 'replace' } })

Please, let me know if there is something I'm missing.

Thanks.

mrozbarry commented 3 years ago

Looks good, thanks!