-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mark
createStore
as deprecated and add legacy_createStore
- Updated `createStore`'s doc description to mark it as `@deprecated`, so that it shows up with a visual strikethrough in editors. - Added new descriptive text to `createStore` to encourage users to migrate to RTK, and pointing to the "RTK is Redux Today" docs page - Rewrote TS typedefs for `createStore` to define it as a function with overloads, rather than a varible, to get correct docs tooltips when hovering over variable usages - Added `legacy_createStore` API as an alias without the deprecation
- Loading branch information
1 parent
051aca0
commit fdf5956
Showing
3 changed files
with
170 additions
and
37 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