-
-
Notifications
You must be signed in to change notification settings - Fork 201
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* test: add failing tests * chore: add react-is as dep * fix: support all kind of component Closes #61 To fix the issue I have used the library from facebook 'react-is'. With this library we can check if the FallbackComponent is a real component. A component is not alwasy a function, but can be also object * chore: remove react-is dep * fix: check FallbackComponent if is defined instead of using react-is * test: simplify test after review
- Loading branch information
1 parent
7b7329d
commit f75eda0
Showing
2 changed files
with
37 additions
and
1 deletion.
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