{"id":25759675,"url":"https://github.com/maechabin/flux-dipatcherjs-sample","last_synced_at":"2026-06-10T18:31:53.711Z","repository":{"id":84291536,"uuid":"41751176","full_name":"maechabin/flux-dipatcherjs-sample","owner":"maechabin","description":"Flux dispatcher.jsでのReact実装サンプル（かなり簡易版）","archived":false,"fork":false,"pushed_at":"2015-11-28T14:48:50.000Z","size":2114,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-26T17:44:24.674Z","etag":null,"topics":["dispatcherjs","facebook-flux","flux","flux-dispatcher","react","sample"],"latest_commit_sha":null,"homepage":"http://mae.chab.in/archives/2738","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maechabin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-09-01T16:48:07.000Z","updated_at":"2018-08-07T00:07:53.000Z","dependencies_parsed_at":"2023-03-04T22:30:41.200Z","dependency_job_id":null,"html_url":"https://github.com/maechabin/flux-dipatcherjs-sample","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/maechabin/flux-dipatcherjs-sample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maechabin%2Fflux-dipatcherjs-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maechabin%2Fflux-dipatcherjs-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maechabin%2Fflux-dipatcherjs-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maechabin%2Fflux-dipatcherjs-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maechabin","download_url":"https://codeload.github.com/maechabin/flux-dipatcherjs-sample/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maechabin%2Fflux-dipatcherjs-sample/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34165482,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dispatcherjs","facebook-flux","flux","flux-dispatcher","react","sample"],"created_at":"2025-02-26T17:37:51.985Z","updated_at":"2026-06-10T18:31:53.684Z","avatar_url":"https://github.com/maechabin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# flux-dipatcherjs-sample\r\nFluxでのReact実装サンプル（かなり簡易版）\r\n\r\nできる限り最小構成になるよう心がけたが、結局Node.jsのEventEmitterも使うことになった。\r\n\r\n[詳細]\u003cbr\u003e\r\nReactの単純なサンプルでFluxの実装を解説\r\nhttp://mae.chab.in/archives/2747\r\n\r\n## デモ\r\nフォームに入力したテキストを表示させるだけのもの。\r\n\r\nhttp://jsrun.it/maechabin/27Bi\r\n\r\n## サンプルソース\r\n- [flux-app.js](https://github.com/maechabin/flux-dipatcherjs-sample/blob/master/src/flux-app.js)\r\n- [flux.html](https://github.com/maechabin/flux-dipatcherjs-sample/blob/master/sample/flux.html)\r\n\r\n## サンプルの確認\r\n\r\n### 1. サンプルのダウンロード\r\n~~~\r\n$ git clone git@github.com:maechabin/flux-dipatcherjs-sample.git flux-sample\r\n~~~\r\n\r\n### 2. サンプルをcloneしたディレクトリに移動して、必要なパッケージのインストール\r\n~~~\r\n$ cd flux-sample\r\n$ npm install\r\n~~~\r\n\r\n### 3. サンプルを開く\r\n~~~\r\n$ open ./sample/flux.html\r\n~~~\r\n\r\n## サンプルの修正\r\n\r\n### 1. 「.src/flux-app.js」を修正したら、以下のコマンドを実行\r\n~~~\r\n$ browserify ./src/flux-app.js -o ./dist/flux-build.js\r\n~~~\r\n\r\n※browserifyがシステムにインストールされていない場合は、以下コマンドでインストール\r\n~~~\r\n$ npm install -g browserify\r\n~~~\r\n\r\n### 2. サンプルを開く\r\n~~~\r\n$ open ./sample/flux.html\r\n~~~\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaechabin%2Fflux-dipatcherjs-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaechabin%2Fflux-dipatcherjs-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaechabin%2Fflux-dipatcherjs-sample/lists"}