Ferdy Budhidharma
1d9679b2dc
[react] add library managed attributes and upgrade TS requirement to 2.8 ( #27901 )
...
* feat(react): add library managed attributes and upgrade to 2.8
* fix broken tests
* fix lint errors
2018-08-06 18:51:26 +01:00
Martin Hochel
a5b0278214
revert(react): remove null union from state which is a BC ( #26946 )
2018-06-29 13:44:58 +01:00
Martin Hochel
98f3e2fb2f
fix: apply new state/props type safety constraints on all dependand packages
2018-06-26 11:06:37 +02:00
Ferdy Budhidharma
130f2eec2f
[react] add forwardRef and createRef functions for React v16.3 ( #24624 )
...
* feat(react): add forwardRef and createRef functions
* fix(tests): fix failing tests
- datepicker needs to be updated to use optional generic types since it was using ClassAttributes incorrectly
2018-04-10 10:22:57 -07:00
Andy Hanson
45c9246c09
Remove esModuleInterop from tsconfigs (no longer mandatory)
2018-02-14 14:55:13 -08:00
Forbes Lindesay
8f8f6c4392
[react] Use HTMLDialogElement for the dialog node ( #23053 )
...
* [react] Use HTMLDialogElement for the dialog node
* Actually add the `open` property
* This update requires typescript 2.6
* Update dependents of react to also require typescript 2.6
2018-02-12 12:55:52 +00:00
Andy
2a9d2f8d59
Convert more "import *" to "import =" ( #23446 )
2018-02-05 18:27:31 -08:00
Andy
bef4d2b27d
Enable "esModuleInterop" in all tsconfigs ( #23354 )
2018-02-05 11:01:56 -08:00
Andres Kalle
c33af47bb2
react: allow null as props for React.createElement() ( #22837 )
2018-01-24 11:40:08 -08:00
John Gozde
bbf3e9cb0b
[react]: Remove deprecated+removed APIs ( #20409 )
...
* create-react-class: add definitions
* react-dom-factories: add definitions
* create-react-class: add tests, fix errors
* react-dom-factories: add tests, fix lint
* react: remove previously deprecated APIs
* Remove deprecated usages in other definitions
* redux-form: disable strictFunctionTypes
Changes to react typings revealed errors in redux-form that are present
in 'master'. This needs to be handled separately.
* Update create-react-class, react-dom-factories author
* Avoid importing create-react-class where possible
* Move top-level createReactClass tests to create-react-class
2017-10-16 15:22:04 -07:00