{"id":28764982,"url":"https://github.com/klen/redux-riot","last_synced_at":"2025-07-28T05:05:42.696Z","repository":{"id":57351408,"uuid":"103935450","full_name":"klen/redux-riot","owner":"klen","description":"Dynamically generated mixin to add Redux support into your Riot application","archived":false,"fork":false,"pushed_at":"2017-11-02T11:57:07.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-22T20:12:17.523Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CoffeeScript","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/klen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-18T12:21:39.000Z","updated_at":"2017-09-18T12:22:48.000Z","dependencies_parsed_at":"2022-08-31T06:22:34.876Z","dependency_job_id":null,"html_url":"https://github.com/klen/redux-riot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/klen/redux-riot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klen%2Fredux-riot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klen%2Fredux-riot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klen%2Fredux-riot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klen%2Fredux-riot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/klen","download_url":"https://codeload.github.com/klen/redux-riot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klen%2Fredux-riot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260336372,"owners_count":22993742,"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","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":"2025-06-17T10:13:14.866Z","updated_at":"2025-07-28T05:05:42.687Z","avatar_url":"https://github.com/klen.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# redux-riot\n\n[![npm version](https://badge.fury.io/js/redux-riot.svg)](https://badge.fury.io/js/redux-riot)\n[![travis build](https://travis-ci.org/klen/redux-riot.svg?branch=develop)](https://travis-ci.org/klen/redux-riot)\n\nA Riot integration to Redux\n\n## Installation\n\n```bash\nnpm install --save redux-riot\n```\n\n### Dependencies\n\n`redux-riot` depends on `redux`, `riot`.\n\n## How to use?\n\n### Configure and setup the mixin\n\n```js\n\nimport Riot from 'riot'\nimport RiotReduxMixin from 'redux-riot';\nimport {createStore} from 'redux';\n\nconst store = createStore(\n    // ...\n)\n\nRiot.mixin(RiotReduxMixin(store)) // install globally\nRiot.mixin('redux', RiotReduxMixin(store)) // or shared\n```\n\n### Use in your tags\n\n```js\n\n    // Initialize the mixin\n    // (skip this if the mixin is installed globally)\n    this.mixin('redux')\n\n    // Subscribe to state changes (reselect is supported)\n    this.subscribe( (state) =\u003e state.some )\n    this.subscribe( require('./selector'))\n    this.subscribe( require('./selector'), callback )\n\n    // Bind actions to this.actions\n    this.actions( require('./actions') )\n\n    // Use binded actions\n    this.actions.select('payload')\n\n```\n\n## License\n\nThis project is licensed under the MIT license, Copyright (c) 2017 Kirill Klenov. For more information see `LICENSE.md`.\n\n## Acknowledgements\n\n[Dan Abramov](https://github.com/gaearon) for Redux and Riot team for [Riot](https://github.com/riot/riot). A Simple and elegant component-based UI library\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fklen%2Fredux-riot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fklen%2Fredux-riot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fklen%2Fredux-riot/lists"}