Skip to content

Commit 996986b

Browse files
committed
more explanation
1 parent 4a9a95c commit 996986b

File tree

1 file changed

+2
-1
lines changed
  • examples/frontend-rendering-with-webpack

1 file changed

+2
-1
lines changed

examples/frontend-rendering-with-webpack/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ Running the example
33

44
As mentioned in the ***Using React on the front-end*** section, [Webpack](https://webpack.github.io/) is used to bundle the respective js files into `dist.js` and included in `index.html`. To make React attributes like `onClick` etc. work, the app has to be re-rendered (along with all the props passed down) when it loads on the browswer. React is intelligent enough to not re-paint the browser and only update the changes, thus adding all the component properties.
55

6+
In this example, the basic_rendering example is modified to submit the Comment Form through ajax and update the Comment List by fetching the updated comments and rendering the application with new props.
7+
68
Install the dependencies
79

810
```
@@ -24,7 +26,6 @@ python example.py
2426

2527
And visit [http://127.0.0.1:5000](http://127.0.0.1:5000)
2628

27-
### Notes
2829

2930

3031

0 commit comments

Comments
 (0)