@quilted/create 0.1.32 → 0.1.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/package.json +1 -1
- package/templates/app-basic/server.tsx +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @quilted/create
|
|
2
2
|
|
|
3
|
+
## 0.1.33
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#436](https://github.com/lemonmade/quilt/pull/436) [`3171fcee`](https://github.com/lemonmade/quilt/commit/3171fceeddfb14c253ac45e34e1e2f9ab6e3f6c0) Thanks [@lemonmade](https://github.com/lemonmade)! - Rename http-handlers to request-router
|
|
8
|
+
|
|
3
9
|
## 0.1.32
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import '@quilted/quilt/global';
|
|
2
2
|
import {
|
|
3
|
-
|
|
3
|
+
createRequestRouter,
|
|
4
4
|
createServerRenderingRequestHandler,
|
|
5
5
|
} from '@quilted/quilt/server';
|
|
6
6
|
import createAssetManifest from '@quilted/quilt/magic/app/asset-manifest';
|
|
7
7
|
|
|
8
8
|
import App from './App';
|
|
9
9
|
|
|
10
|
-
const
|
|
10
|
+
const router = createRequestRouter();
|
|
11
11
|
|
|
12
12
|
// For all GET requests, render our React application.
|
|
13
|
-
|
|
13
|
+
router.get(
|
|
14
14
|
createServerRenderingRequestHandler(() => <App />, {
|
|
15
15
|
assets: createAssetManifest(),
|
|
16
16
|
}),
|
|
17
17
|
);
|
|
18
18
|
|
|
19
|
-
export default
|
|
19
|
+
export default router;
|