Skip to content

Commit 28179a9

Browse files
committed
update library imports
1 parent b1abf43 commit 28179a9

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

SSRtest/ModifiedReact.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
import { lstat } from 'fs';
2+
import { Transform } from "stream";
3+
import { create } from "domain";
24

35
/** @license React v16.2.0
46
* react-dom-server.node.development.js

SSRtest/src/server/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const streamingStart = {
2929
*/
3030
export default ({ clientStats }) => async (req, res) => {
3131
// Need To Come back To If Statement
32-
if(true){
32+
if(false){
3333
const cacheStream = ReactCC.createCacheStream(cache, streamingStart);
3434
cacheStream.pipe(res);
3535
cacheStream.write(htmlStart);
@@ -40,7 +40,7 @@ export default ({ clientStats }) => async (req, res) => {
4040
cacheStream.end(htmlEnd);
4141
});
4242
}
43-
else if (false){
43+
else if (true){
4444
const app = <App />;
4545
const start_cached = process.hrtime();
4646

0 commit comments

Comments
 (0)