Skip to content

Commit

Permalink
Create late-donuts-call.md
Browse files Browse the repository at this point in the history
  • Loading branch information
heyqbnk authored Oct 20, 2023
1 parent 0d9bf30 commit 817617e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .changeset/late-donuts-call.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
"@tma.js/navigation": patch
---

Divide `Navigator` into 2 separate:

1. `BasicNavigator` which encapsulates logic related to any type of navigation.
2. `HashNavigator` which is based on `BasicNavigator` and allows client routing via `window.location.history` and location hash.

This engagement allows developers to implement some other routers. For example, it allows creating `MemoryNavigator` or bind to the Next router.

0 comments on commit 817617e

Please sign in to comment.