A functional and reactive JavaScript framework for predictable code Read the docs
A functional and reactive JavaScript framework for predictable code Read the docs
GUI作るの辛い。オブジェクト指向的コンポーネントは限界がある。時代はやっぱFRPか?と思ってRx.jsとbacon.jsとか触ってみたんだけど。難しすぎて発狂した。 オブジェクト指向はいらない子? - Togetterまとめ FRP エクセルのセルがなんか他のセルの状態によって変化するようなやつ(雑) bacon.jsが難しすぎる baconjs/bacon.js こういうのがたくさんある。 合流のさせ方がたくさんあって難しい イベントストリームが全状態を保存しているみたいで、メモリが不安 なぜかjQuery用のDSLがたくさんあって覚えるの面倒だし別にそういうのは望んでない 本当にやりたいことは? ストリーム作って 合流させて その値が変化したタイミングを知りたい (ついでにメモリ圧迫したくない) (あと依存なしでnodeでもブラウザでも) 川の流れをつくった mizchi/kawa.
追記: 情報が色々と古くなったため、2020年に書き直した版へのリンクを張っておきます。 この記事は VirtualDOM Advent Calendar 2014 - Qiita の初日です。 初日ということで、基調講演風に、Virtual DOMとはなにか、なぜ僕はこんな興奮しているのか!という話から。 Virtual DOMとはなにか 既存の概念で当てはめると、JavaScriptのMVC, MVW(Whatever)フレームワークのViewに位置します。が、その程度では終わりません。仮想DOMとは世界を革命する力であり、このjQueryのDOM操作で汚れきったフロントエンドを救う救世主なのです。 現時点で自分が知っている限りは、以下の実装を指します。 facebook/react 最も使われてるFacebookの実装 Matt-Esch/virtual-dom Altenative
Reactive MVC and the Virtual DOM — Futurice のメモ。 Model-View-Intent and the Virtual DOM の記事版という感じ React/Fluxは最近話題になってる React/FluxはリアクティブプログラミングであるがAPIが少し違う Reactはリアクティブとインタラクティブなパターンを混ぜた感じ ゼルダのように昼と夜で同じマップだけど違う世界のように2重となるようなケースを考える The dual of Interactive is Reactive 普通のインラクティブの場合は、Xをに影響を与えるものを探す場合、他のモジュールでX.update()を探す必要がある しかし、リアクティブパターンの場合はXの中を探せば良くなる どうやってリアクティブパターンを実装するか? event emittersの導入 Xから
The web frontend scene is witness to many new frameworks and ways of working. It can be quite annoying when software becomes legacy quicker than ever. But actually, it's just good old innovation happening as it should, because the opportunities for improvement are there. Frameworks come and go, but what remains are the good ideas that they brought to the world. We're going to talk about the good i
ReactiveX: Duality turns your mind upside downModel-View-Intent and the Virtual DOM. Andre Medeiros. October / 2014 Used React for RxMarbles.com Just the 'View' in MVC. Not really. React components Have state (Model) Handle inputs to change state (Controller) Render JSX templates (Presentation) Contain lifecycle hooks for external purposes Are opinionated on where should state live A MESS Don't ,
The Flux project is in maintenance mode and there are many more sophisticated alternatives available (e.g. Redux, MobX, Recoil) and we would recommend using them instead. What is Flux?Flux is the application architecture that Facebook uses for building client-side web applications. What does it do?It complements React's composable view components by utilizing a unidirectional data flow. How do I u
RxJS Clean Composable Code What is RxJS? RxJS or Reactive Extensions for JavaScript is a library for transforming, composing, and querying streams of data. We mean all kinds of data too, from simple arrays of values, to series of events (unfortunate or otherwise), to complex flows of data. RxJS makes it easy to: transform data using methods like aggregation and projection. compose data using metho
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く