Skip to content

masahiroike/write-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

write react

elementを指定することなく、reactをrenderします htmlファイルでreactを使いたい人向けのプログラムです https://github.com/masahiroike/write-react

install

  1. npm install
# shell command line
npm install write-react
  1. import this
# index.tsx
import writeReact from 'write-react';
window.writeReact = writeReact;
  1. execute example
# index.html
<script>writeReact(ExampleComponent, {className: 'exampleClassName'}, ...ExampleChildElement)</script>

About

elementを指定することなく、reactをrenderします

Resources

Stars

Watchers

Forks

Packages

No packages published