
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@acutejs/plugin-redux
Advanced tools
A plugin for Acute to use Redux.
First, install the plugin and its peer-dependency, redux.
npm install @acutejs/plugin-redux redux
Then, use Redux’s helpers to create a store.
store.js
import { createStore, combineReducers } from 'redux';
const counter = (state = 0, action) => {
switch (action.type) {
case 'DECREMENT_COUNTER':
return state - 1;
case 'INCREMENT_COUNTER':
return state + 1;
default:
return state;
}
};
export default createStore(combineReducers({
counter,
}));
Next, pass the plugin and a reference to the store to Acute’s createApp().
import redux from '@acutejs/plugin-redux';
import store from './store.js';
createApp({
// ...
plugins: [
redux({
store,
}),
],
});
Finally, use the store’s methods to add interactivity to your Acute components.
import store from './store.js';
export default {
events: {
click() {
store.dispatch({ type: 'INCREMENT_COUNTER' });
}
},
render() {
const { counter } = store.getState();
const plural = counter === 1 ? 'time' : 'times';
return `<button> You’ve clicked me ${message} ${plural} </button>`;
},
};
FAQs
A plugin for Acute to use [Redux](https://redux.js.org/).
We found that @acutejs/plugin-redux 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.