pcreations / apollo-link-webworker Goto Github PK
View Code? Open in Web Editor NEWApollo link that lets you use graphql client-side only, with a webworker as a "server" supporting normal queries and subscriptions
Apollo link that lets you use graphql client-side only, with a webworker as a "server" supporting normal queries and subscriptions
When not using subscriptions, this package should not be required.
...thus making the withFilter
fonction to be totally bypassed
Hey there. Thanks for this module. Just what I needed. It seems that there is a small but vital piece missing, though: When unsubscribing on the client, it currently does not close the subscription on the server because the 'stop' signal is not handled. I've submitted a small PR for that: #7
Hi,
First thank you for creating this Repo - it creates new ways we can use Apollo-link in the wild.
I was struggling for some time to make apollo-link-webworker
to work on a POC i was building to realise that i was missing the worker-loader
and its configuration on webpack. I think it will be helpful if you give a small note in the README about that.
Thanks.
The new apollo-link
version as a built in way to deal with context per operation thus deprecating the apollo-link-set-context
package.
Is it possible to pass a new context per query? E.g. I use user_id
in my context, so I don't want to initialize the context
only once, I want to be sure that if user has logged out, I don't pass their user_id
to the context
anymore
Since the graphql client acts as server in the browser, would there a way for the backend server to connect to it? Maybe backend initiates a websocket connection through which backend communicate with the client graphql server, would that be possible?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.