npm init -y
pakcage.jsonのmainで指定しているファイルが実行開始ファイルとなる(defaultはindex.js)
fluxのフレームワークの一種。 dispatcherが無いがないため、完全なfluxフレームワークとは言えない。
http://qiita.com/inuscript/items/41168a50904242005271 基本的なものだけ
import React from 'react'
↓
React = require(‘react')
( | |
SuperDirt.start; | |
b = NetAddr.new("127.0.0.1", 12345); // create the NetAddr | |
OSCdef(\test, { | |
|msg, time, addr, recvPort| 'osc'.postln; | |
msg.postln; | |
b.sendMsg("/hello", "there"); | |
}, '/play2', n); // def style |