abstract-state-router icon indicating copy to clipboard operation
abstract-state-router copied to clipboard

Like ui-router, but without all the Angular. The best way to structure a single-page webapp.

Results 16 abstract-state-router issues
Sort by recently updated
recently updated
newest added

I put some test data in the resolve, and forgot to set it as an async function. When I try to load a route, I don't get any error message...

Based on a conversation in the Discord chat, I thought it might be helpful to document (via tests) some specific redirect behavior.

Is there any way to reload the current route? I know I can just not use event.preventDefault() but that reloads the app as a whole.

enhancement
needs test
needs discussion

(Making this PR now so I don't lose track of it while waiting for other PRs to settle.) This one needs to wait for https://github.com/TehShrike/abstract-state-router/pull/141 I didn't modernize anything else...

Discovered by @Vehmloewff If you have a parent state with a route `parent` and a default child state that has an empty string as its route, `makePath` will return a...

bug

On Twitter, [Ryan Grove brought up the need to painlessly lazy-load route modules](https://twitter.com/yaypie/status/758042766190358528). On the surface, this seems like it would be easy to implement. The state's `template` property could...

enhancement
needs discussion

My app is using push state routing. In my resolve functions, I am doing some checks before returning a successful callback. For example, you visit `book/50`, and I do a...

Reported by stalkerg in chat. https://github.com/TehShrike/page-path-builder/blob/93a1c9130f6e17aa22689084b010ceecd7444b77/index.js#L20 Current thought on how to fix it: update `page-path-builder` to take an `encode` function as an option, and then add `encode` as an initialization...

bug