React Phoenix Versions Save

Make rendering React.js components in Phoenix easy

v1.3.1

1 year ago

Changed

  • Security: bumped several versions of dependencies

Included PRs

Full Changelog: https://github.com/geolessel/react-phoenix/compare/v1.3.0...v1.3.1

v1.3.0

2 years ago

Changed

  • Support phoenix_html 3.0
  • Better documentation for yarn users

PR's included

New Contributors

Full Changelog: https://github.com/geolessel/react-phoenix/compare/v1.2.0...v1.3.0

v1.2.0

4 years ago

Version 1.2.0

Changes

  • Replace eval call in javascript (#46)

Chores

  • Update dev dependencies (#47)

v1.1.0

4 years ago

v1.1.0

Added

  • react_component/3 accepts html_element

    By default, react_component renders the react component inside a div container. If you pass a value for html_element as an option to react_component/3, it will render the component inside the specified HTML element. For example, to render the component in a span instead of a div, you can run

    react_component("MyComponent", %{}, html_element: "span")
    
  • react_component/3 passes all other options to the HTML element

    Anything else passed into react_component/3 will be passed through directly to the component's HTML output. This could be a class name, styles, or anything else.

    react_component("MyComponent", %{aProp: "hello"}, style: "border-bottom: 1px solid #888")
    

v1.0.1

4 years ago

Simple security updates on dependency

v1.0.0

5 years ago

This release corresponds to changes in Phoenix 1.4.

  • Uses Webpack as default instead of Brunch
  • Uses Jason as json parser instead of Poison

v0.6.0

5 years ago
  • made React a peer dependency to allow projects to define their own React versions as required

v0.5.2

6 years ago
  • Add typespecs for all functions
  • Add @deprecated attribute to ReactPhoenix.react_component

v0.5.1

6 years ago
  • Remove mod from mix file
  • Format code via Elixir 1.6's mix format

v0.5.0

6 years ago

BREAKING CHANGE!

This release removes all code that was available to support server-side rendering. It was causing more trouble than it was worth in the end. More experiments on my end will continue but for a public release, it needed to be gone.

More info can be seen in this thread in Issue #10 (https://github.com/geolessel/react-phoenix/issues/10#issuecomment-347092652).