dannyfranca / qwik-router

A SPA-like router for Qwik.
MIT License
20 stars 1 forks source link

Feature/native url compatibility #5

Closed dannyfranca closed 1 year ago

dannyfranca commented 1 year ago

What is it?

Description

This improves tests, improves some store mutation properly using useTask$ and adds a state fully compatible with the native URL interface.

Use cases and why

Using native URLs to abstract the complexities of handling URLs is a good practice. Having it native in the route state brings flexibility and safety while dealing with URL changes. It allows us to safely and easily react to route changes without breaking compatibility with native expected APIs.

Checklist