generated from zayne-labs/create-ts-library
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(toolkit): add popstate event trigger to location hooks
- Add `triggerPopstate` function to `useLocation` and `useSearchParams` hooks - Update `createLocationStore` to expose `triggerPopstateEvent` function - This allows triggering a popstate event manually
- Loading branch information
1 parent
c62a034
commit 247e617
Showing
4 changed files
with
30 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
"@zayne-labs/toolkit": patch | ||
--- | ||
|
||
feat(toolkit): add popstate event trigger to location hooks | ||
|
||
- Add `triggerPopstate` function to `useLocation` and `useSearchParams` hooks | ||
- Update `createLocationStore` to expose `triggerPopstateEvent` function | ||
- This allows triggering a popstate event manually |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters