Reactrb v0.12.7 Release Notes

Release Date: 2017-06-03 // over 4 years ago

Previous changes from v0.11.0

  • ๐Ÿ”„ Changed

    • 0๏ธโƒฃ The whole opal-activesuppport is not loaded by default now. This gave us about 18% size reduction on the built file. If your code rely on any of the module which is not required by hyper-react, you need to require it yourself. (#135)

    ๐Ÿ—„ Deprecated

    • Current React.render behavior is deprecated. Require "react/top_level_render" to get the updated behavior. (#187)
    • React.is_valid_element is deprecated in favor of React.is_valid_element?.
    • expect(component).to render('<div />') is now deprecated in favor of expect(component).to render_static_html('<div />'), which is much clearer.

    ๐Ÿ›  Fixed

    • ๐Ÿš… ReferenceError: window is not defined error in prerender context with react-rails v1.10.0. (#196)
    • โšก๏ธ State might not be updated using React::Observable from a param. (#175)
    • Arity checking failed for _react_param_conversion & React::Element#initialize (#167)