sbking / next-apollo Goto Github PK
View Code? Open in Web Editor NEWApolloClient integration for Next.js
ApolloClient integration for Next.js
In addition to documentation, an example application is always helpful.
Totally dig this approach! Iโm wondering, is it worth providing some defaults (with the option to override those defaults) for those developers who might want to get going with Apollo and Next right away? Removing the requirement of creating 3 new files (initClient, initStore, and apolloFactory) after installing the package would reduce "scaffolding friction". It'd be cool if all a developer had to provide was a graphql endpoint to the library to get started, while still providing the option to override those individual files.
What do you think?
I'm having an issue with the reduxRootKey, which is being deprecated in favor of reduxRootSelector. This opens up the possibility of using arbitrary structures such as Immutable.js to hold your Redux state. Unfortunately, it also means that we have to know how the user is creating the state. Right now, only plain object states are supported. Perhaps in the future, we could add a way for the user to declare how their initial state should be constructed, as well as how it should be serialized and deserialized so the HOC can transfer the state successfully from getInitialProps on the server to the component constructor where it can be rehydrated on the browser.
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.