
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.
react-with-async-state
Advanced tools
React redux high order component that waits for redux state to meet a condition before rendering the real component.
withAsyncState()A React high-order Component designed to abstract the fetch, wait, check flow of remote or asynchronous requests or Redux Thunk actions. The goal is to make it a drop in component that connects to the store, rendering the TargetComponent only when the state is in shape.
$ npm install react-with-async-state --save
withAsyncState( Component, Wait, Error, Function )
export default connect(
mapStateToProps,
mapDispatchToProps
)(
withAsyncState(
AComponentThatNeedsSomethingBeforeRendering,
Loader,
ErrorMessage,
(props) => !!_.size(props.items)
)
);
FAQs
React redux high order component that waits for redux state to meet a condition before rendering the real component.
We found that react-with-async-state 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.