
Security News
Federal Government Rescinds Software Supply Chain Mandates, Makes SBOMs Optional
The U.S. government is rolling back software supply chain mandates, shifting from mandatory SBOMs and attestations to a risk-based approach.
Draqula is a GraphQL client for React apps that don't need everything. Instead of offering tons of features like extensive caching mechanism, local state management, subscriptions and so on, Draqula focuses on executing the basics well - queries and mutations.
If you want to take a quick look, keep scrolling this readme. Otherwise, check out the documentation at https://draqulajs.com.
$ npm install draqula graphql graphql-tag
import React from 'react';
import {render} from 'react-dom';
import {Draqula, DraqulaProvider, useQuery} from 'draqula';
import gql from 'graphql-tag';
const TODOS_QUERY = gql`
query {
todos {
id
title
}
}
`;
const Todos = () => {
const {data, isLoading, error} = useQuery(TODOS_QUERY);
return (
<div>
{isLoading && <span>Loading…</span>}
{error && <span>Error: {error.message}</span>}
{data && (
<ul>
{data.todos.map(todo => (
<li key={todo.id}>{todo.title}</li>
))}
</ul>
)}
</div>
);
};
const client = new Draqula('https://my-graphql-api.com/graphql');
render(
<DraqulaProvider client={client}>
<Todos />
</DraqulaProvider>,
document.body
);
Docs can be found at https://draqulajs.com
FAQs
GraphQL client for React apps that don't need everything
The npm package draqula receives a total of 1 weekly downloads. As such, draqula popularity was classified as not popular.
We found that draqula 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
The U.S. government is rolling back software supply chain mandates, shifting from mandatory SBOMs and attestations to a risk-based approach.

Security News
crates.io adds a Security tab backed by RustSec advisories and narrows trusted publishing paths to reduce common CI publishing risks.

Research
/Security News
A Chrome extension claiming to hide Amazon ads was found secretly hijacking affiliate links, replacing creators’ tags with its own without user consent.