{"id":13835454,"url":"https://github.com/nofluxjs/noflux","last_synced_at":"2025-09-02T02:32:40.165Z","repository":{"id":143777354,"uuid":"91349595","full_name":"nofluxjs/noflux","owner":"nofluxjs","description":"Simple, stupid state management for JavaScript apps.","archived":false,"fork":false,"pushed_at":"2018-07-18T07:20:27.000Z","size":269,"stargazers_count":46,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-20T20:39:14.274Z","etag":null,"topics":["flux","mobx","noflux","redux"],"latest_commit_sha":null,"homepage":"https://noflux.js.org/","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc-by-4.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nofluxjs.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-05-15T14:48:52.000Z","updated_at":"2022-12-23T21:47:41.000Z","dependencies_parsed_at":"2023-06-08T04:30:14.578Z","dependency_job_id":null,"html_url":"https://github.com/nofluxjs/noflux","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nofluxjs%2Fnoflux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nofluxjs%2Fnoflux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nofluxjs%2Fnoflux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nofluxjs%2Fnoflux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nofluxjs","download_url":"https://codeload.github.com/nofluxjs/noflux/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231737321,"owners_count":18418996,"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":["flux","mobx","noflux","redux"],"created_at":"2024-08-04T14:01:02.378Z","updated_at":"2024-12-29T12:55:48.102Z","avatar_url":"https://github.com/nofluxjs.png","language":null,"funding_links":[],"categories":["目录"],"sub_categories":[],"readme":"# Noflux\n\n*Simple, stupid state management for JavaScript apps.*\n\n## Packages\n\n| Package | Version | Dependencies | DevDependencies | Build |\n|--------|-------|------------|----------|----------|\n| [@noflux/state](https://github.com/nofluxjs/noflux-state) | [![npm (scoped)](https://img.shields.io/npm/v/@noflux/state.svg?maxAge=86400)](https://www.npmjs.com/package/@noflux/state) | [![Dependency Status](https://david-dm.org/nofluxjs/noflux-state.svg)](https://david-dm.org/nofluxjs/noflux-state) | [![devDependency Status](https://david-dm.org/nofluxjs/noflux-state/dev-status.svg)](https://david-dm.org/nofluxjs/noflux-state?type=dev) | [![Build Status](https://travis-ci.org/nofluxjs/noflux-state.svg?branch=next)](https://travis-ci.org/nofluxjs/noflux-state) |\n| [@noflux/react](https://github.com/nofluxjs/noflux-react) | [![npm (scoped)](https://img.shields.io/npm/v/@noflux/react.svg?maxAge=86400)](https://www.npmjs.com/package/@noflux/react) | [![Dependency Status](https://david-dm.org/nofluxjs/noflux-react.svg)](https://david-dm.org/nofluxjs/noflux-react) | [![devDependency Status](https://david-dm.org/nofluxjs/noflux-react/dev-status.svg)](https://david-dm.org/nofluxjs/noflux-react?type=dev) | [![Build Status](https://travis-ci.org/nofluxjs/noflux-react.svg?branch=next)](https://travis-ci.org/nofluxjs/noflux-react) |\n\n## Example\n\nOnline debugging: [https://codesandbox.io/s/z47wLwP8](https://codesandbox.io/s/z47wLwP8).\n\n```jsx\nimport React, { Component } from 'react';\nimport { connect, state } from '@noflux/react';\n\nstate.set({\n  name: 'jack',\n});\n\n@connect\nexport default class App extends Component {\n  render() {\n    return (\n      \u003cdiv\u003e\n        \u003cinput onChange={e =\u003e state.set('name', e.target.value)} /\u003e\n        \u003cp\u003e Hello, my name is {state.get('name')} \u003c/p\u003e\n      \u003c/div\u003e\n    )\n  }\n}\n```\n\n## Documentations\n\n* [English](https://noflux.js.org/en/)\n* [简体中文](https://noflux.js.org/zh/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnofluxjs%2Fnoflux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnofluxjs%2Fnoflux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnofluxjs%2Fnoflux/lists"}