-
-
Notifications
You must be signed in to change notification settings - Fork 629
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Return markup hash form react component helper #800
Return markup hash form react component helper #800
Commits on Apr 13, 2017
-
Allow to return object as a value of htmlResult from generator functi…
…on on the server * Implement handling of Hash result of server_rendered_react_component_html in react_on_rails helper * Implement additional example page for server rendered HTML that shows usage of htmlResult object
Configuration menu - View commit details
-
Copy full SHA for a522653 - Browse repository at this point
Copy the full SHA a522653View commit details -
Implement test for page title rendered in generator function on server
* Add conditional title to dummy app layout * Implement rendering title string in generator function on server * Add test for conditional title to integration_spec * Refactor code in react_on_rails helper
Configuration menu - View commit details
-
Copy full SHA for c410106 - Browse repository at this point
Copy the full SHA c410106View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d49519 - Browse repository at this point
Copy the full SHA 6d49519View commit details -
Implement example with ReactHelmet
* Now test page yields title rendered by ReactHelmet * Add tests with disabled JS to integration spec to ensure correct title rendering on server * Mark HTML strings other than component HTML (composed with props and console script) as html_safe
Configuration menu - View commit details
-
Copy full SHA for 2079156 - Browse repository at this point
Copy the full SHA 2079156View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba0b870 - Browse repository at this point
Copy the full SHA ba0b870View commit details -
Configuration menu - View commit details
-
Copy full SHA for e6f2d34 - Browse repository at this point
Copy the full SHA e6f2d34View commit details -
Now component key in renderedHtml object expected to match component …
…registration key
Configuration menu - View commit details
-
Copy full SHA for f768529 - Browse repository at this point
Copy the full SHA f768529View commit details -
Renamed example page and component registration
* Renamed example page to react_helmet * Changed route to example page * Renamed component registration to ReactHelmetApp * Additional refactoring
Configuration menu - View commit details
-
Copy full SHA for 4c9bc3e - Browse repository at this point
Copy the full SHA 4c9bc3eView commit details -
* Create additional-reading/react-helmet.mb * Fix comments for generator function * Update javascript-api.md
Configuration menu - View commit details
-
Copy full SHA for a6d8274 - Browse repository at this point
Copy the full SHA a6d8274View commit details -
Configuration menu - View commit details
-
Copy full SHA for 337b477 - Browse repository at this point
Copy the full SHA 337b477View commit details -
Configuration menu - View commit details
-
Copy full SHA for f18cedb - Browse repository at this point
Copy the full SHA f18cedbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c20d3a - Browse repository at this point
Copy the full SHA 3c20d3aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a81da5b - Browse repository at this point
Copy the full SHA a81da5bView commit details -
Now rendered HTML for React component goes under the constant key com…
…ponentHtml * Implement constant key usage in #build_react_component_result_for_server_rendered_hash method of react_on_rails helper * Updated generator function for server rendering * Additional refactoring
Configuration menu - View commit details
-
Copy full SHA for ebfb6c7 - Browse repository at this point
Copy the full SHA ebfb6c7View commit details -
* Fixed additional-reading/react-helmet.md * Updated react_helmet.erb template accordingly
Configuration menu - View commit details
-
Copy full SHA for 010a28e - Browse repository at this point
Copy the full SHA 010a28eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 362d8b8 - Browse repository at this point
Copy the full SHA 362d8b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9938bd5 - Browse repository at this point
Copy the full SHA 9938bd5View commit details -
* Implement required params for #build_react_component_result_for... methods * Moved component_html_key to the constant
Configuration menu - View commit details
-
Copy full SHA for f8a0069 - Browse repository at this point
Copy the full SHA f8a0069View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2eeb3f3 - Browse repository at this point
Copy the full SHA 2eeb3f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for cdaccfb - Browse repository at this point
Copy the full SHA cdaccfbView commit details -
Configuration menu - View commit details
-
Copy full SHA for dd1190d - Browse repository at this point
Copy the full SHA dd1190dView commit details -
* Update react-helmet to v5.0.3 to resolve PropTypes warnings * Fixed rubocop warnings
Configuration menu - View commit details
-
Copy full SHA for 301adb2 - Browse repository at this point
Copy the full SHA 301adb2View commit details