GoogleがTLSでの採用を提唱している共通鍵暗号方式「ChaCha」についてまとめた
http://sonickun.hatenablog.com/entry/2016/04/03/183220
新しいTLSの暗号方式ChaCha20-Poly1305
http://d.hatena.ne.jp/jovi0608/20160404/1459748671
目を通しておくのがヨサゲ
React に入門してみようかと
https://facebook.github.io/react/docs/getting-started.html
を軽く目を通して
$ npm install --save react react-dom babelify babel-preset-react
$ npm -g install browserify
$ npm install -g react-tools
まで実行したところで、日本語ドキュメントがあることに気づく。
https://facebook.github.io/react/docs/getting-started-ja-JP.html
で、これに従ってできるところまで……と思ったらいきなり動かない。Chrome のデベロッパーツールで見ると
Uncaught ReferenceError: ReactDOM is not defined
とのこと。日本語版だと、ドキュメントが古いのかと思って
https://facebook.github.io/react/docs/getting-started.html
を改めて見てみると、結構内容が違う。どうやら、0.14 から react.js から react-dom.js が分離されたようで、
<script src="build/react-dom.js"></script>
を入れたら動いた。さすがに react-0.14.8.zip を解凍した中にある examples/ 以下のファイルは、普通にちゃんと動くみたい。
以下、OSXにて。
$ cd react-0.14.8
$ python -m SimpleHTTPServer
$ open http://localhost:8000/examples/
これらを流し読みしたあとで、tutorial 読むかなぁ……なんで今さらこんなことしてるかというと
10年のツケを支払ったフロント界隈におけるJavaScript開発環境(2016年4月現在)。
http://d.hatena.ne.jp/tomoya/20160403/1459665374
を読んだから。さすがに全然わかりませんじゃダメだよねぇ、と思ったのがきっかけ。
IPv4/IPv6 meter |
思ったより安い……時もある、Amazon |