{"id":15703849,"url":"https://github.com/skclusive/skclusive.mobx.component","last_synced_at":"2025-10-27T19:40:05.786Z","repository":{"id":56192742,"uuid":"220764279","full_name":"skclusive/Skclusive.Mobx.Component","owner":"skclusive","description":"Aspnet core Blazor/Razor component binding for Skclusive.Mobx.Observable","archived":false,"fork":false,"pushed_at":"2021-01-19T19:36:08.000Z","size":14131,"stargazers_count":6,"open_issues_count":1,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-14T04:22:29.737Z","etag":null,"topics":["blazor","csharp","dotnet-core","mobx"],"latest_commit_sha":null,"homepage":"https://skclusive.github.io/Skclusive.Mobx.Component/","language":"C#","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/skclusive.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":"2019-11-10T08:50:51.000Z","updated_at":"2021-05-22T20:28:54.000Z","dependencies_parsed_at":"2022-08-15T14:20:56.236Z","dependency_job_id":null,"html_url":"https://github.com/skclusive/Skclusive.Mobx.Component","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skclusive%2FSkclusive.Mobx.Component","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skclusive%2FSkclusive.Mobx.Component/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skclusive%2FSkclusive.Mobx.Component/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skclusive%2FSkclusive.Mobx.Component/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skclusive","download_url":"https://codeload.github.com/skclusive/Skclusive.Mobx.Component/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253775505,"owners_count":21962358,"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":["blazor","csharp","dotnet-core","mobx"],"created_at":"2024-10-03T20:07:06.967Z","updated_at":"2025-10-27T19:40:00.736Z","avatar_url":"https://github.com/skclusive.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"Skclusive.Mobx.Component\n=============================\n\nRazor/Blazor Component library to be used with Skclusive.Mobx.Observable which is port of [MobX](https://github.com/mobxjs/mobx) for the C# language.\n\n\u003e Supercharge the state-management in your Blazor apps with Transparent Functional Reactive Programming (TFRP)\n\n## Introduction\n\nMobX is a state-management library that makes it simple to connect the\nreactive data of your application with the UI. This wiring is completely automatic\nand feels very natural. As the application-developer, you focus purely on what reactive-data\nneeds to be consumed in the UI (and elsewhere) without worrying about keeping the two\nin sync.\n\nIt's not really magic but it does have some smarts around what is being consumed (**observables**)\nand where (**reactions**), and automatically tracks it for you. When the _observables_\nchange, all _reactions_ are re-run. What's interesting is that these reactions can be anything from a simple\nconsole log, a network call to re-rendering the UI.\n\n\u003e MobX has been a very effective library for the JavaScript\n\u003e apps and this port to the C# language aims to bring the same levels of productivity.\n\n## Sample\n\nThe CounterApp sample project has been published [here](https://skclusive.github.io/Skclusive.Mobx.Component/).\n\n![Observable Counter in action](images/counter.gif)\n\n### Installation\n\nAdd a reference to the library from [![NuGet](https://img.shields.io/nuget/v/Skclusive.Mobx.Component.svg)](https://www.nuget.org/packages/Skclusive.Mobx.Component/)\n\n\n## Usage\n\nComponents with Skclusive.Mobx.Observable values can be created and used in as below.\n\n```razor\n@using Skclusive.Mobx.Component\n@using Skclusive.Mobx.Observable\n\n@inherits PureComponentBase\n\n\u003ch1\u003eObservable Counter\u003c/h1\u003e\n\u003cp\u003eCurrent count: \u003cObservable\u003e@currentCount.Value\u003c/Observable\u003e\u003c/p\u003e\n\u003cbutton class=\"btn btn-primary\" @onclick=\"IncrementCount\"\u003e\n    Click me\n\u003c/button\u003e\n\n@code {\n\n    private IObservableValue\u003cint\u003e currentCount = ObservableValue\u003cint\u003e.From(0);\n\n    private void IncrementCount()\n    {\n        currentCount.Value++;\n    }\n}\n\n```\n\n## Credits\n\nThis is an attempt to port [mobx](https://github.com/mobxjs/mobx) and [mobx-react](https://github.com/mobxjs/mobx-react) to Blazor.\n\n## License\n\nSkclusive.Mobx.Component is licensed under [MIT license](http://www.opensource.org/licenses/mit-license.php)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskclusive%2Fskclusive.mobx.component","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskclusive%2Fskclusive.mobx.component","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskclusive%2Fskclusive.mobx.component/lists"}