-
-
Notifications
You must be signed in to change notification settings - Fork 633
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Updated API of ReactOnRails.js to provide optional param for getStore. * Added API docs for new controller module and view helper for shared redux stores. * Implement shared stores in controller * Updated gems and npm modules * Support Phantom JS 2.x * Setup hot dev mode for spec/dummy * Added view helpers for assets * Converted the spec/dummy app to use css modules * Many documentation enhancements * Fix spec failures: incorrect Turbolinks require Need to use require_asset * Remove unused precompile directive * Enable the use of option --only-failures * Remove default path for server_bundle.js * BREAKING CHANGE: If a system was depending on this default, the will not get any server rendering. This file must be explicitly set in your react_on_rails.rb initializer. * Fixed the spec bundled assets status checker * Now knows to exclude the server-bundle.js file in case that is the only one there. This happened when one would run the Procfile.hot and then you'd have only the server rendering js file. * Change default driver to selenium for Travis * Removed validation of Ruby part of Turbolinks Turbolinks 5 does not have a Ruby part. * Don't symlink spec/dummy/client react-on-rails This was causing the spec failures. * Change generators to use app/assets/webpack as the generation directory might contain CSS. * Numerous improvements in the verification that the webpack created assets are up to date before running tests. * Several new configuration options and changes to the configuration: # Directory where your generated assets go config.generated_assets_dir = File.join(%w(app assets webpack)) # Define the files for we need to check for webpack compilation when running tests config.webpack_generated_files = %w( app-bundle.js vendor-bundle.js server-bundle.js ) * config.server_bundle_js_file no longer uses a path, as it can only exist in the generated_assets_dir. * redux_store view helper now requires the props to be specified as a named parameter, an it takes an option `defer` to allow rendering at the bottom of the layout.
- Loading branch information
Showing
104 changed files
with
3,646 additions
and
1,453 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.