
Security News
OWASP 2025 Top 10 Adds Software Supply Chain Failures, Ranked Top Community Concern
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.
@influmy/fetch
Advanced tools
Hook to make http request in an easy and fancy manner. It uses fetch, so it is light and fast. No over engineering architecture needed.
import React, { useEffect } from 'react';
import { useFetch, METHODS } from '@influmy/fecth';
const Demo = () => {
const [res, callApi] = useFetch({});
useEffect(() => {
const query = {
postId: 1,
};
const url = 'https://jsonplaceholder.typicode.com/comments';
callApi({ url, query });
}, [callApi]);
const { isLoading, data } = res;
if (isLoading) {
return <p>Loading</p>;
}
return <pre>{JSON.stringify(data)}</pre>;
};
useFetch({ method }) hooks should be called with a valid http request method. GET, POST, PUT, PATCH, DELETE. By default it uses GET. You can get methods constants throw METHODS object, like METHODS.POST and others.
It returns a response object, with these properties:
A call api function is returned too. callApi({ url, query, payload }) You can set url, where request is made. Can be a string or a URL object instance. Query object, to add query params to url. Makes pagination simple. And a payload object, to set as a body in request.
So instead of making a hooks that makes request, and you call feel upset with lifecycles, this hook provides tools to manage your request and make them whenever you need it
FAQs
influmy-fetch React component
We found that @influmy/fetch 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
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.