Changelog History
-
v1.2.0 Changes
January 21, 2020 -
v1.1.0 Changes
November 25, 2019v1.1.0
โ Added
react_component/3
acceptshtml_element
By default, react_component renders the react component inside a div container. If you pass a value for
html_element
as an option toreact_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 runreact\_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 Changes
November 19, 2019โก๏ธ Simple security updates on dependency
-
v1.0.0 Changes
January 03, 2019๐ This release corresponds to changes in Phoenix 1.4.
- 0๏ธโฃ Uses Webpack as default instead of Brunch
- ๐ Uses Jason as json parser instead of Poison
-
v0.6.0 Changes
May 30, 2018- made React a peer dependency to allow projects to define their own React versions as required
-
v0.5.2 Changes
March 14, 2018- โ Add typespecs for all functions
- โ Add
@deprecated
attribute toReactPhoenix.react_component
-
v0.5.1 Changes
January 31, 2018- โ Remove
mod
from mix file - Format code via Elixir 1.6's
mix format
- โ Remove
-
v0.5.0 Changes
November 27, 2017๐ฅ 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 (#10 (comment)).
-
v0.4.3
November 27, 2017 -
v0.4.2
May 29, 2017