タグ

関連タグで絞り込む (0)

  • 関連タグはありません

タグの絞り込みを解除

tutorialとReactとFluxに関するefclのブックマーク (2)

  • はてなブックマーク検索を作りながらFlux Utilsについて学ぶ

    facebook/flux 2.1.0からFlux UtilsというStoreなどの実装が含まれるようになりました。 今回Flux Utilsを使って、指定したアカウントのはてなブックマークを検索するウェブアプリを書いてみました。 azu/hatebu-mydata-search azu.github.io/hatebu-mydata-search/ mydataのAPIがCORS対応してないのでJSONProxyを挟んでます。(なのでブックマークデータが多いアカウント名は避けたほうが…) これを作ってみてFlux Utilsについて思ったことを書いていきます。 Flux Utilsの紹介ページに、Flux Utilsの解説が書かれています。 簡単にまとめると以下の4つのクラスがFlux Utilsとして提供されています。 Store ベースとなるクラス ReduceStore Store

    はてなブックマーク検索を作りながらFlux Utilsについて学ぶ
    efcl
    efcl 2015/08/24
    Flux UtilsとReactを使ってアプリを作りながら、Flux Utilsについて学ぶチュートリアル。 StoreのstateがImmutableであったり、Containerなどの動作について
  • Building Plugins for React Apps | Nylas

    Earlier this year, we published a blog post about how our team is building a new email app using React, with a primary goal of extensibility. That means allowing developers to write plugins that change the app’s behavior, just like in Chrome or emacs. Over the past few months, we’ve designed a new way to structure large React applications in order to reliably and safely support plugins. This invol

    Building Plugins for React Apps | Nylas
    efcl
    efcl 2015/07/28
    React Componentを独立性を保つにはどうするかという話 Store同士に複雑な依存があると大変なので中央で管理するOmniStoreという概念の導入、Componentがただのデータであることを利用したDIする仕組み、Componentの独立性を確保する
  • 1