Commit Graph

9 Commits

Author SHA1 Message Date
Diogo Franco
2b0d0375e6 Add react-loadable TS2.4 tests (#17965)
* Add tests using import() to react-loadable

* Fix lint errors in react-loadable tests

* Add comment to react-loadable to clarify a common issue
2017-07-31 14:48:19 -07:00
Diogo Franco (Kovensky)
ce695b0743 Revert "Make render optional in react-loadable"
This reverts commit 668fb871ae.
2017-07-12 14:21:06 +09:00
Mohsen Azimi
668fb871ae Make render optional in react-loadable
Reference: https://github.com/thejameskyle/react-loadable#example
2017-07-10 10:45:41 -07:00
Diogo Franco
9b9e8dd26d react-loadable: Only default is a valid key by default
Having it be an indexed type prevents use with dynamic import.
2017-06-21 17:44:16 +09:00
Oden
0554c5aa25
Fix missed replacement. 2017-06-19 01:11:35 -07:00
Oden
081c004d03
Fix Map loader docs. 2017-06-19 00:28:21 -07:00
Oden
294e98d261
Use React.ComponentType 2017-06-19 00:24:18 -07:00
Oden
f10aa9bbdc
Update react-loadable types for v4.
Changes: https://github.com/thejameskyle/react-loadable/pull/46
2017-06-16 20:21:58 -07:00
Diogo Franco
bf2a72285c Add type definitions for react-loadable (#16118)
* Add definitions for react-loadable

* Add react-loadable/babel

* Add explicit export
2017-04-26 08:05:55 -07:00