{"id":17133283,"url":"https://github.com/gilbox/simflux-old","last_synced_at":"2026-07-19T14:41:20.263Z","repository":{"id":78534249,"uuid":"26897289","full_name":"gilbox/simflux-old","owner":"gilbox","description":"The original simflux experiment. Useful, but retired for something else.","archived":false,"fork":false,"pushed_at":"2014-11-20T05:31:13.000Z","size":132,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T05:44:50.188Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gilbox.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-11-20T05:29:39.000Z","updated_at":"2014-11-20T05:31:13.000Z","dependencies_parsed_at":"2023-02-23T20:40:43.437Z","dependency_job_id":null,"html_url":"https://github.com/gilbox/simflux-old","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gilbox/simflux-old","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gilbox%2Fsimflux-old","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gilbox%2Fsimflux-old/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gilbox%2Fsimflux-old/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gilbox%2Fsimflux-old/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gilbox","download_url":"https://codeload.github.com/gilbox/simflux-old/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gilbox%2Fsimflux-old/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268844928,"owners_count":24316088,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-05T02:00:12.334Z","response_time":2576,"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":[],"created_at":"2024-10-14T19:41:50.101Z","updated_at":"2025-10-18T20:57:32.936Z","avatar_url":"https://github.com/gilbox.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"simflux\n=======\n\nsimple Flux implementation\n\n\nhow?\n----\n\n    var Flux = simflux.Flux,\n        dispatcher = Flux.dispatcher;\n\n    // an object qualifies to be a store if it has name and actions\n    var appStore = {\n      name: 'appStore',\n      actions: [ 'addTodo', 'removeTodo' ],\n      addTodo: function(todo) { ... },\n      removeTodo: function(todo) { ... }\n    }\n    \n    // register appStore with Flux\n    dispatcher.registerStore(appStore);\n    \n    // all async ops should be handled by the Action Creator\n    var actionCreator = {\n      addTodo: function(todo) {\n        doSomethingAsync.then(function() {\n          dispatcher.dispatch('addTodo', todo);\n        });\n      }\n    }\n    \n    // do something!\n    actionCreator.addTodo({ todo: 'My Todo' });\n\n\nwhy?\n----\n\n- Less boilerplate\n- Does not facilitate async Stores\n- Easily list action dependencies without needing to rely on `waitFor`\n- Circular dependency detection\n- Tiny footprint\n\n\ndemo\n----\n\n[angular-simflux-experiment](https://github.com/gilbox/angular-simflux-experiment): Flux in angularjs\n\n\nrequirements\n------------\n\n- lodash\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgilbox%2Fsimflux-old","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgilbox%2Fsimflux-old","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgilbox%2Fsimflux-old/lists"}