Security News
PyPIโs New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
rest-hooks
Advanced tools
Making dynamic sites performant, scalable, simple to build with almost any API design.
๐Read The Docs ย |ย ๐Getting Started ย |ย ๐ฎDemo
class ArticleResource extends Resource {
readonly id: number | null = null;
readonly title: string = '';
readonly body: string = '';
pk() { return this.id; }
static urlRoot = '/articles/';
}
const article = useResource(ArticleResource.singleRequest(), { id });
return (
<>
<h2>{article.title}</h2>
<p>{article.body}</p>
</>
);
const update = useFetcher(ArticleResource.updateRequest(), { id });
return <ArticleForm onSubmit={update} />;
For the small price of 6kb gziped. ย ย ๐Get started now
Thanks to @0xcaff, @melissafzhang and @alexiswolfish for their valuable feedback.
FAQs
Asynchronous data framework for React
The npm package rest-hooks receives a total of 1,312 weekly downloads. As such, rest-hooks popularity was classified as popular.
We found that rest-hooks demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.ย It has 2 open source maintainers 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
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.