Unclaimed project
Are you a maintainer of react-phoenix? Claim this project to take control of your public changelog and roadmap.
Changelog
Make rendering React.js components in Phoenix easy
Last updated 7 months ago
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")
Reference implementation of Anoma
Simple, open source, lightweight and privacy-friendly web analytics alternative to Google Analytics.
Elixir is a dynamic, functional language for building scalable and maintainable applications
Peace of mind from prototype to production