
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
@hadeeb/reactive
Advanced tools
Reactive global state for react apps
npm i @hadeeb/reactive
OR
yarn add @hadeeb/reactive
import { unstable_batchedUpdates } from "react-dom"; //Or react-native
import {
StoreProvider,
createStore,
observe,
useStore,
options
} from "@hadeeb/reactive";
const store = createStore(
{
INCREMENT({ state }) {
state.counter++;
},
DECREMENT({ state }) {
state.counter--;
},
UPDATE_COUNTER({ state }, payload) {
state.counter = state.counter + payload;
},
async ASYNC_INCREMENT({ dispatch }) {
await someApi();
dispatch("INCREMENT");
}
},
{ counter: 0 }
);
function Child() {
const [store, dispatch] = useStore();
return (
<div>
<span>{store.counter}</span>
<button
onClick={() => {
dispatch("INCREMENT");
}}
>
+
</button>
<button
onClick={() => {
dispatch("DECREMENT");
}}
>
-
</button>
<button
onClick={() => {
dispatch("UPDATE_COUNTER", 5);
}}
>
Increment by 5
</button>
</div>
);
}
const ConnectedChild = observe(Child);
function App() {
return (
<StoreProvider store={store}>
<ConnectedChild />
</StoreProvider>
);
}
// This is important
options.batch = unstable_batchedUpdates;
import {addReduxDevTool} from "@hadeeb/reactive/enhance"
const store = createStore(...,...)
addReduxDevTool(store,options)
FAQs
Reactive global state for react apps
The npm package @hadeeb/reactive receives a total of 1 weekly downloads. As such, @hadeeb/reactive popularity was classified as not popular.
We found that @hadeeb/reactive 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
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.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.