README.md in react_on_rails-0.1.4 vs README.md in react_on_rails-0.1.5
- old
+ new
@@ -100,10 +100,11 @@
* **options:** [hash]
* **generator_function**: <true/false> default is false, set to true if you want to use a generator function rather than a React Component.
* **prerender**: <true/false> set to false when debugging!
* **trace**: <true/false> set to true to print additional debugging information in the browser default is true for development, off otherwise
* **replay_console**: <true/false> Default is true. False will disable echoing server rendering logs, which can make troubleshooting server rendering difficult.
+ * Any other options are passed to the content tag, including the id.
## JavaScript
1. Configure your webpack configuration to create the file used for server rendering if you plan to
do server rendering.
@@ -155,10 +156,11 @@
config.generator_function = false # default is false, meaning that you expose ReactComponents directly
config.trace = Rails.env.development? # default is true for development, off otherwise
# For server rendering. This can be set to false so that server side messages are discarded.
config.replay_console = true # Default is true. Be cautious about turning this off.
+ config.logging_on_server = true # Default is true. Logs server rendering messags to Rails.logger.info
end
```
# Try it out in the simple sample app
Contributions and pull requests welcome!
@@ -281,9 +283,13 @@
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
## Updating New Versions of the Gem
See https://github.com/svenfuchs/gem-release
+
+```bash
+gem bump --tag --release
+```
# Authors
The Shaka Code team!
1. [Justin Gordon](https://github.com/justin808/)