Skip to content

Conversation

dmjio
Copy link
Owner

@dmjio dmjio commented Aug 12, 2025

  • Adds customEvent function
  • Refactors uriSub to have deterministc resource handling via createSub
  • Adds custom miso-replaceState and miso-pushState events.

We emit custom History API events, because pushState and replaceState don't invoke popstate events, we raise our own custom ones, and write to the Component sink to make the application aware changes to the URI have been made.

- [x] Adds `customEvent` function
- [x] Refactors `uriSub` to have deterministc resource handling via `createSub`
- [x] Adds custom `miso-replaceState` and `miso-pushState` events.

We emit custom `History` API events, because `pushState` and
`replaceState` don't invoke `popstate` events, we raise our own custom
ones, and write to the `Component` sink to make the application aware
changes to the URI have been made.
@dmjio dmjio marked this pull request as draft August 14, 2025 02:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant