
Research
Supply Chain Attack on Axios Pulls Malicious Dependency from npm
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.
react-query-render-state
Advanced tools
React Query Render State: This hook allows you to declaratively define components that will be rendered based on the data processing state.
React Query Render State: This hook allows you to declaratively define components that will be rendered based on the data processing state.
The easiest way to install react-query-render-state is with npm.
npm install react-query-render-state
Alternately, download the source.
git clone https://github.com/stegano/react-query-render-state.git
The useQueryRenderState hook enables a declarative approach to display components based on data processing status.
import { useQueryRenderState } from "react-query-render-state";
export const App = () => {
const { render, ...queryResult } = useQueryRenderState({
// ...`useQuery` options
// You can also use `useInfiniteQueryRenderState` in the same way.
});
return render(
() => <p>Idle</p>, // → renderIdle
() => <p>Loading..</p>, // → renderLoading
(data) => <div>Success({data})</div>, // → renderSuccess
(error) => <p>Error. :(, ({error.message})</p> // → renderError
);
};
Demo: https://stackblitz.com/edit/stackblitz-starters-ccrgxa9c
Note: ✨ react-query-render-state is made based on @tanstack/react-query and react-render-state
Thanks goes to these wonderful people (emoji key):
Yongwoo Jung 💻 🤔 |
This project follows the all-contributors specification. Contributions of any kind welcome!
FAQs
React Query Render State: This hook allows you to declaratively define components that will be rendered based on the data processing state.
The npm package react-query-render-state receives a total of 3 weekly downloads. As such, react-query-render-state popularity was classified as not popular.
We found that react-query-render-state demonstrated a healthy version release cadence and project activity because the last version was released less than 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.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.

Security News
TeamPCP is partnering with ransomware group Vect to turn open source supply chain attacks on tools like Trivy and LiteLLM into large-scale ransomware operations.