-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add actionParams support (#47)
* feat: add actionParams support * chore: clean code * fix: actionParams logic * fix: improve typings * chore: fix typings * fix: small fixes after review * fix: refactored helpers * chore: add helpers tests * refact: move actionParams clear logic from update & fix actionParams queue logic * chore: add actionParams tests for state-and-params function * fix: fix after review * fix: remove actionParams from state field * chore: remove unused code * fix: fix after review * fix: fix after review * chore: add comments * chore: change sample text in tests * chore: fix after review
- Loading branch information
1 parent
dbeb2e1
commit 0c78ae2
Showing
7 changed files
with
846 additions
and
288 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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
export const CURRENT_VERSION = 2; | ||
|
||
export const META_KEY = '__meta__'; | ||
|
||
export const ACTION_PARAM_PREFIX = '_ap_'; |
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
Oops, something went wrong.