
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
redux-immutable-to-js
Advanced tools
A proxy creator for Redux store to convert immutable objects to JS objects.
A proxy creator for Redux store to convert immutable objects to JS objects.
Redux Immutable to JS allows you to convert immutable objects to JS objects automatically when Redux state is required outside reducers.
This library is inspired by Immutable Data Structures and JavaScript.
If you are using Immutable.js in a specific part of your system, don't make anything outside of it access the data structures directly. A good example is Redux and it's single atom app state. If the app state is an Immutable.js object, don't force React components to use Immutable.js' API directly.
npm install --save redux-immutable-to-js
$ cd example
$ npm install
$ npm start
import { createStore } from 'redux';
import immutableToJS from 'redux-immutable-to-js';
import rootReducer from './reducers/index';
// create a store that has redux-immutable-to-js enabled
const finalCreateStore = immutableToJS()(createStore);
const store = finalCreateStore(rootReducer);
import { createStore, applyMiddleware, compose } from 'redux';
import thunk from 'redux-thunk';
import immutableToJS from 'redux-immutable-to-js';
import rootReducer from './reducers/index';
// create a store that has redux-thunk middleware and redux-immutable-to-js enabled
const finalCreateStore = compose(
applyMiddleware(thunk),
immutableToJS()
)(createStore);
const store = finalCreateStore(rootReducer);
MIT
FAQs
A proxy creator for Redux store to convert immutable objects to JS objects.
The npm package redux-immutable-to-js receives a total of 6 weekly downloads. As such, redux-immutable-to-js popularity was classified as not popular.
We found that redux-immutable-to-js demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.