Skip to content

v0.5.1

Compare
Choose a tag to compare
@github-actions github-actions released this 14 Jan 14:40
· 66 commits to master since this release

0.5.1 - 2024-01-14

Added

  • createComposable create a global hook that can be accessed from anywhere in the tree.
  • useComposable retrieve a named composable.
  • unmountApp used to unmount the current app instance.
  • unmountRouter used to unmount the current router instance.
  • createDestination create a valid url using a destination request.

Changed

  • remake the framework from scratch and changed its architecture to be more expandable and dynamic.
  • switched to @riadh-adrani/domer instead of @riadh-adrani/dom-utils for DOM manipulations.
  • switched to @riadh-adrani/dom-router as the base of the routing system.
  • navigate now accepts a second parameter DestinationOptions.

Removed

  • createStore is removed, replaced by createComposable.
  • batch no longer useful during to framework architectural change.
  • replace removed, you can set DestinationOptions.replace to true instead.