6.1.9 • Published 5 days ago
@meniga/redux v6.1.9
@meniga/redux
Redux is a library for handling redux.
Exports
Provider, connect, useSelector, useDispatch
Direct exports from react-redux
addMiddleware, removeMiddleware, resetMiddlewares
Direct exports from redux-dynamic-middlewares
createAction, createPredicateAction, createPromiseAction
Helpers to create redux actions
handleAction, handleActions
Helpers to handle redux actions in reducers
createReducer
Helper to create a redux reducer
store
The redux store
Getting started
The Provider should be in your main/bootstrap file and should wrap around your app:
Example:
import { Provider, store } from '@meniga/redux'
function bootstrap () {
const domEl = document.createElement('div')
document.body.appendChild(domEl)
const root = ReactDOM.createRoot(domEl);
root.render(
<Provider store={ store }>
<App />
</Provider>
)
}
6.1.9
5 days ago
6.1.8
23 days ago
6.1.4-alpha.0
30 days ago
6.1.1-alpha.0
30 days ago
6.1.3-alpha.0
30 days ago
6.1.6
29 days ago
6.1.5
29 days ago
6.1.2-alpha.0
30 days ago
6.1.7
29 days ago
6.0.37-alpha.0
1 month ago
6.1.0
1 month ago
6.0.38-alpha.0
1 month ago
6.0.36-alpha.0
1 month ago