
Product
Introducing the Alert Details Page: A Better Way to Explore Alerts
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.
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
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.

Product
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.

Product
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.

Research
Malicious PyPI package sympy-dev targets SymPy users, a Python symbolic math library with 85 million monthly downloads.