Giter Site home page Giter Site logo

Server-side rendering (SSR) about prisma1 HOT 6 CLOSED

prisma avatar prisma commented on April 30, 2024 1
Server-side rendering (SSR)

from prisma1.

Comments (6)

schickling avatar schickling commented on April 30, 2024 2

I think this isn't something we would directly build into our system but rather make it really easy to put some kind of proxy in front of your web app. We'll look into that over the next couple of weeks and see what kind of solution we can present by then!

Keep posting these great proposals! :shipit:

from prisma1.

sedubois avatar sedubois commented on April 30, 2024 1

I've been continuing to simply use Next.js for this. Maybe this could just be closed.

from prisma1.

sedubois avatar sedubois commented on April 30, 2024

The way I explore this currently is with Next.js: it provides a kind of isomorphic app with SSR, which I configured to talk to Graph.cool using Apollo (both on the server and browser sides). With such a solution, no need to do anything more on Graph.cool side 👍 but maybe others would want a single server.

from prisma1.

schickling avatar schickling commented on April 30, 2024

Thanks for the update @sedubois. We'll reach out to you to see how we could simplify this process further for other customers. We'll write an update here as soon as available.

from prisma1.

marktani avatar marktani commented on April 30, 2024

For further reference, these are projects with SSR using nextjs and Graphcool:
https://github.com/zeit/next.js/tree/master/examples/with-apollo
https://github.com/relatenow/relate

Other frameworks also support this, for example Vue: https://vuejs.org/v2/guide/ssr.html

from prisma1.

dohomi avatar dohomi commented on April 30, 2024

As a sidenode on this matter: for VUE2 users vue-apollo is being able to fetch through apolloClient the queries server side as well. isomorphic-fetch is the only requirement to make this work.

from prisma1.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.