Skip to content

Commit bd1fe6b

Browse files
authored
Update README.md
1 parent ffe4284 commit bd1fe6b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/ashish-r/create-global-state-selector/blob/master/LICENSE)
77
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fashish-r%2Fcreate-global-state-selector.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fashish-r%2Fcreate-global-state-selector?ref=badge_shield)
88

9-
# Welcome to StackEdit!
109
Create global state selectors from local redux slice selectors.
1110
In `redux` each of the slices are autonomus and final store structure is defined by how the individual slices are merged with `combineReducers` . `createGlobalStateSelector` takes local slice selectors and the slice structure to return global state selectors.
1211

@@ -138,6 +137,10 @@ The example below uses `redux-toolkit` however you can use `createGlobalStateSel
138137

139138
selectZ(store) // 'temp'
140139

140+
## FYI
141+
`createGlobalStateSelector` uses `Object.fromEntries` and `Object.entries` which are not pollyfilled to reduce the package size. If needed, Please add your own polyfills, or target your polyfills accordingly for Babel, Webpack, Rollup etc.
142+
143+
141144
## License
142145

143146
MIT

0 commit comments

Comments
 (0)