万年素人からHackerへの道

万年素人がHackerになれるまで殴り書きするぜ。

  • ・資産運用おすすめ
    10万円は1000円くらい利益
    資産運用ブログ アセマネ
    • ・寄付お願いします
      YENTEN:YYzNPzdsZWqr5THWAdMrKDj7GT8ietDc2W
      BitZenny:ZfpUbVya8MWQkjjGJMjA7P9pPkqaLnwPWH
      c0ban:8KG95GXdEquNpPW8xJAJf7nn5kbimQ5wj1
      Skycoin:KMqcn7x8REwwzMHPi9fV9fbNwdofYAWKRo

    2018-02-08から1日間の記事一覧

    Reactのhistory謎エラー history

    github.com Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have …

    Reactのhistory系がない

    import { syncHistoryWithStore } from 'react-router-redux'; import { browserHistory } from 'react-router'; これは古い?4系 https://github.com/reactjs/react-router-redux https://github.com/ReactTraining/react-router/tree/master/packages/reac…

    Reactでページ遷移 だがconnectできない

    https://github.com/DefinitelyTyped/DefinitelyTyped/issues/18999

    Reactで共通の変数とか使う

    Contextを使う。 Context - React 親子でバケツリレー式にできそう。 Fluxは別に気にせず最小コード例がいい。 qiita.com 親から孫に渡す時は、子にもcontextTypesのgetのstaticプロパティ必須 親->子->孫

    HTMLCollectionOf<Element>

    ElementのジェネリックのHTMLCollectionをHTMLCollectionOfと言ってる?? Ofも付いたものまで型に見える・・。 こいつは配列じゃないのでforEachで回せない。 http://ptech.g.hatena.ne.jp/noromanba/20120521/1337639496 Array.prototype.forEach.call()を…