Alessandro Vitali
Results
2
comments of
Alessandro Vitali
I've defined a basic apollo server: ``` // apollo.ts import { ApolloServer, gql } from "apollo-server-koa"; // Construct a schema, using GraphQL schema language const typeDefs = gql` type Query...
I found a solution with a monkey patch: in entry/server.tsx I check for ctx.path ``` // Create Koa middleware to handle React requests return async (ctx: Context, next: () =>...