generated from chiffre-io/template-library
-
-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: improve the Option type for transitions (#410)
* feat: Add support for transitions This lets non-shallow updates be notified of server rendering loading status, using an external `React.useTransition` hook. * fix: improve typing * fix: better typing * fix: remove unnecessary code * chore: remove unnecessary changes * fix: some edge cases when shallow is not a boolean type * fix: remove as any * fix: e2e build * chore: better name for generic * fix: parser type * fix: better naming * fix: better naming * chore: better naming * test: Add type tests for shallow/startTransition interaction * fix: simplify type * test: add a extra test case * chore: extract type exclusion logic * chore: simplify types * chore: remove unnecessary generics * chore: add test case for startTransition * test: Add type tests * chore: Simplify type & prettify --------- Co-authored-by: Francois Best <[email protected]>
- Loading branch information
Showing
5 changed files
with
81 additions
and
8 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
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
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