Socket
Socket
Sign inDemoInstall

@meniga/redux

Package Overview
Dependencies
Maintainers
0
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@meniga/redux

The redux meniga package


Version published
Maintainers
0
Created
Source

@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>
	)
}

FAQs

Package last updated on 26 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc