- Notifications
You must be signed in to change notification settings - Fork3
elixirscript/elixirscript_react
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A library for usingReact with ElixirScript
useReact.HTMLdefmy_section()sectionid:"todoapp"doheaderid:"header"doh1do"todos"endinput[id:"new-todo",placeholder:"What needs to be done?",autoFocus:true,onKeyPress:fn(event,_)->process_event(event)end]endendendReactDOM.render(my_section(),"my_dom_container_query")
my_dom_container_query
is a string that is passed todocument.querySelector
in the browser
Ifavailable in Hex, the package can be installedby addingelixir_script_react
to your list of dependencies inmix.exs
:
defdepsdo[{:elixir_script_react,"~> 16.2.0"}]end
Documentation can be generated withExDocand published onHexDocs. Once published, the docs canbe found athttps://hexdocs.pm/elixir_script_react.
About
React Library for ElixirScript
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.