Comments (6)
I'm not familiar with angular universal. What is it, and what would it mean to integrate with it?
from apollo-server.
It speeds up angular 2 apps significantly, especially on the initial page, by rendering on the server. The react ecosystem also has server side rendering, but I've never played with it. A good full stack system really ought to have it. As far as i know, angular universal has so far only been implemented for express, and not hapi, koa, etc.
from apollo-server.
Ah I see. This is mostly up to the view layer integration, I think. The GraphQL server will have very little to do with this and should just work out of the box for it.
I think we have somethin in the pipelines for the react-bindings: apollographql/react-apollo#54
For something similar in Angular, you should probably close the issue here and open it on the angular2-apollo repo: https://github.com/apollostack/angular2-apollo
from apollo-server.
But server side rendering must be done on the server. So it is not really a client side issue. However it is true that the angular universal server could be run on a separate server than the api (graphql) server. It seems like apollo project as a whole needs to think about this assuming it is serious about deeply integrating with angular 2.
from apollo-server.
Yes, it has to be done on a server, but it doesn't affect the graphql part of the server. The more challenging part is making sure that whatever code people write for the frontend can be rendered by the server as well, which is why I think it makes most sense if @Urigo takes a look first. If there's anything we need to do server-side to make it possible, I can take care of that.
from apollo-server.
sounds good, thanks.
from apollo-server.
Related Issues (20)
- schemaReporter pollTimer has incorrect type HOT 1
- Error from resolver without extensions[V3 was not adding extensions in any error type from resolvers] HOT 2
- Integration of AS4 with graphql-jit not working HOT 3
- Bun integration on subscription (Query and Mutation Works, but not Subscription) HOT 3
- TypeSafe Custom GQLError HOT 2
- support for fastify version 4 HOT 2
- Allow passing http2 server to ApolloServerPluginDrainHttpServer
- ApolloServerPluginUsageReporting reportTimer has incorrect type HOT 1
- Elasticache cluster - CROSSLOT Keys in request don't hash to the same slot HOT 4
- Unable to package/deploy with serverless using Node14 and apollo-serverless-core HOT 3
- ApolloServerPluginUsageReporting does not allow to pass http agent HOT 11
- Misconfigured `sendVariableValues` results in similar behavior as `{all: true}` HOT 3
- ApolloServerPluginUsageReporting does not allow to pass http agent HOT 2
- Apis that have their requests cached dont need to make unnecessary auth token fetches
- Document known mitigated security issue in `@koa/cors` for AS3 users HOT 1
- Update `@koa/cors` dependency for AS3 (or why we don't intend to) HOT 2
- Share and modify variables between Express and the GraphQL/Apollo server HOT 1
- Error: ApolloServer<BaseContext>' is not assignable to type 'ApolloServer<ExpressContext> HOT 3
- callback function for onSchemaLoadOrUpdate when upgrading from AS v3 to AS v4 HOT 3
- Allow plugins to throw meaningful GraphQL errors
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apollo-server.