You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -201,15 +201,15 @@ Creates an asynchronous context that can be used by the `<AsyncComponentProvider
201
201
202
202
## Server Side Rendering
203
203
204
-
This library has been designed for generic interoperability with [`react-async-bootstrapper`](https://github.com/ctrlplusb/react-async-bootstrapper). The `react-async-bootstrapper` allows us to do a "pre-render parse" of a React Element tree and execute any "bootstrapping" process that may be attached to a components within the tree. In our case the "bootstrapping" process involves the resolution of the asynchronous components so that they can be rendered by the server. We use this generic library approach as it allows interoperability with other libraries that have "bootstrapping" needs (e.g. data preloading as done by `react-jobs`).
204
+
This library has been designed for generic interoperability with [`react-async-bootstrapper`](https://github.com/ctrlplusb/react-async-bootstrapper). The `react-async-bootstrapper`utility allows us to do a "pre-render parse" of a React Element tree and execute any "bootstrapping" functions that are attached to a components within the tree. In our case the "bootstrapping" process involves the resolution of asynchronous components so that they can be rendered "synchronously" by the server. We use this 3rd party library as it allows interoperability with other libraries which also require a "bootstrapping" process (e.g. data preloading as supported by [`react-jobs`](https://github.com/ctrlplusb/react-jobs)).
205
205
206
206
Firstly, install `react-async-bootstrapper`:
207
207
208
208
```
209
209
npm install react-async-bootstrapper
210
210
```
211
211
212
-
Now, let's configure the "server" side. You could use a similar `express` (or other HTTP server) middleware:
212
+
Now, let's configure the "server" side. You could use a similar `express` (or other HTTP server) middleware configuration:
0 commit comments