Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@adobe/apollo-link-mutation-queue
Advanced tools
Readme
An Apollo link that enqueues mutations so that they do not fire in parallel.
I was finding that mutations affecting the same underlying data would often return incorrect data if fired in parallel. Instead of blocking UI based on the loading state of the mutations I wrote a link that just enqueues mutations.
Compose your link chain with the link.
import MutationQueueLink from "apollo-link-mutation-queue";
const link = ApolloLink.from([
new MutationQueueLink(),
//... your other links
]);
Debug with debug: true
.
import MutationQueueLink from "apollo-link-mutation-queue";
const link = ApolloLink.from([
new MutationQueueLink({ debug: true }),
//... your other links
]);
Cut in line with skipQueue: true
.
const [mutate] = useMutation(MY_MUTATION);
useEffect(() => {
mutate({
context: { skipQueue: true },
});
}, []);
Contributions are welcomed! Read the Contributing Guide for more information.
This project is licensed under the Apache V2 License. See LICENSE for more information.
The upgrade to @apollo/client
requires react
and react-refresh
as dependencies.
FAQs
An apollo link that queues mutations
The npm package @adobe/apollo-link-mutation-queue receives a total of 3,275 weekly downloads. As such, @adobe/apollo-link-mutation-queue popularity was classified as popular.
We found that @adobe/apollo-link-mutation-queue demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 21 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.