-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: rewrite from HOC to hook, support React 18
Rewrite the component from HOC to hook. This makes the package much easier to use. Also rewrite the code to TypeScript, improve the tests and add support for React 18. BREAKING CHANGE: Changed the component from HOC to hook. The TypeScript types are now generated from code so there might be some slight changes. We now require React >= 16.8.0 since we need hook support. Fixes #918
- Loading branch information
1 parent
aa41c1e
commit ac0bc6b
Showing
23 changed files
with
1,364 additions
and
2,208 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
{ | ||
"plugins": { | ||
"tailwindcss": {}, | ||
"autoprefixer": {} | ||
"tailwindcss": {} | ||
} | ||
} |
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
File renamed without changes.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.