サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
体力トレーニング
qiita.com/takaki@github
Reactでinputを扱う(TypeScript版)という改訂版を書きました。 input要素をReactで使うとReactがinputを自分でコントロールするので注意が必要。 var React = require('react'); var ReactDOM = require('react-dom'); var App = React.createClass({ render: function() { return ( <div> <label>value a</label> <input type="radio" name="aradio" value="A" checked="checked" /> <br /> <label>value b</label> <input type="radio" name="aradio" value="B" /> <hr /> <labe
この記事は古くなりました。redux-promiseは不要です。 redux で非同期アクションを使う (https://qiita.com/takaki@github/items/737630f112208832a1fd) を読んで下さい。 前提 React react-redux react-actions Promise Redux で Action を処理に非同期処理,ajax を使おうとすると書き方が少しめんどくさい。 redux-promise というミドルウェアを使うときれいに書けるのだが README にまともに使い方の説明が書いてない。 少し解説をする。 サンプル import React from 'react'; import ReactDOM from 'react-dom'; import { createStore, combineReducers, apply
Python 3.5.2rc1 (default, Jun 13 2016, 09:33:26) [GCC 5.4.0 20160609] on linux Type "help", "copyright", "credits" or "license" for more information. >>> x = [1, 2, 3, 4, 5] >>> y = [0, 2, 4, 5, 8]
などをやってください。 以下の内容は古くなりました。 表題通りでReactとmatrial-uiを使ったウェブページをwebpackを使って最小手順で作るための手順をまとめた。 準備 まずはディレクトリを作成してnpmの準備をする。 $ mkdir webpack-exe $ cd webpack-exe $ npm init This utility will walk you through creating a package.json file. It only covers the most common items, and tries to guess sane defaults. See `npm help json` for definitive documentation on these fields and exactly what they do. Use `np
このページを最初にブックマークしてみませんか?
『qiita.com』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く