Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

React Library for ElixirScript

NotificationsYou must be signed in to change notification settings

elixirscript/elixirscript_react

Repository files navigation

A library for usingReact with ElixirScript

Example

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

Installation

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

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp