Skip to content

Commit

Permalink
Update server-rendering-tips.md (shakacode#494)
Browse files Browse the repository at this point in the history
Update server-rendering-tips.md and README.md
  • Loading branch information
justin808 authored Jul 28, 2016
1 parent 0604006 commit 13f2cf0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Aloha from Justin Gordon and the [ShakaCode](http://www.shakacode.com) Team! We'
* On Twitter, follow [@railsonmaui](https://twitter.com/railsonmaui) and [@shakacode](https://twitter.com/shakacode) for updates on releases.

# NEWS
* 2016-07-28: If you're doing server rendering, be sure to use mini\_racer! See [issues/428](https://github.com/shakacode/react_on_rails/issues/428). It's supposedly much faster than `execjs`.
* 2016-06-13: 6.0.4 shipped with a critical fix regarding a missing polyfill for `clearTimeout`, used by babel-polyfill.
* 2016-06-06: 6.0.2 shipped with a critical fix if you are fragment caching the server generated React.
* *See [NEWS.md](NEWS.md) for more notes over time.*
Expand Down
2 changes: 2 additions & 0 deletions docs/additional-reading/server-rendering-tips.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Server Rendering Tips

Be sure to use mini_racer. See [issues/428](https://github.com/shakacode/react_on_rails/issues/428)

## General Tips
- Your code can't reference `document`. Server side JS execution does not have access to `document`, so jQuery and some
other libs won't work in this environment. You can debug this by putting in `console.log`
Expand Down

0 comments on commit 13f2cf0

Please sign in to comment.