Skip to content
This repository was archived by the owner on Jul 19, 2019. It is now read-only.

Commit 15b0c3e

Browse files
committed
Update package react and react-dom to version 15 and update code style better server-side rendering
1 parent d537f21 commit 15b0c3e

File tree

4 files changed

+3236
-14
lines changed

4 files changed

+3236
-14
lines changed

example/example.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
$rjs = new ReactJS(
1717
// location of React's code
18-
file_get_contents('build/react-bundle.js'),
18+
file_get_contents('build/react-bundle.min.js'),
1919
// app code
2020
file_get_contents('build/table.js')
2121
);
@@ -47,7 +47,7 @@
4747
<div id="page"><?php echo $rjs->getMarkup(); ?></div>
4848

4949
<!-- load react and app code -->
50-
<script src="react/build/react.min.js"></script>
50+
<script src="build/react-bundle.min.js"></script>
5151
<script src="build/table.js"></script>
5252

5353
<script>

0 commit comments

Comments
 (0)