Главная
Study mode:
on
1
Creating the second Apollo
2
Moving the environment variable to a constant
3
Deciding the best way to access the repo
4
Passing in the initial state
5
What is the best way to pass it in
6
Global Scope
7
Authentication Header
8
Route Parameters
9
Error
10
Include
11
Authorization
12
Authorization Pass
13
Pick Repo
14
Query Repo
15
undefined
16
pass as prop
17
create provider
18
create context provider
19
add type types
20
access provider
21
in memory cache
22
trying to read JSON
23
removing the outside data
24
using the wrong client
Description:
Explore implementing Next.js server-side rendering with two Apollo clients for handling multiple GraphQL endpoints. Learn how to set up environment variables, manage authentication headers, handle route parameters, and create context providers. Dive into techniques for accessing repositories, passing initial state, and dealing with global scope. Address common issues such as undefined errors, JSON parsing, and using the correct client. Gain insights into optimizing in-memory cache and removing unnecessary data layers for improved performance.

Next.js Server-Side Rendering with Multiple Apollo Clients

Ben Awad
Add to list
0:00 / 0:00