After using MobX for a while on web and app projects, I really, really want it for managing my state in C++ projects. I've seen a C++14 implementation of Redux...how doable would it be for MobX?
If you are using it in a single threaded environment it should be straight forward as there is no browser specific stuff. There is a lot of reflection / properties stuff in types/, but you could suffice by porting just the core/ folder and leaving the observable types out initially expect for ObservableValue and create your own ones. (porting an older version might be simpler for starters, a lot of non-essential features where introduced at 2.2 and a lot of tiny core optimizations in 2.5). If you want to support threads, I think that should be doable as well, but you have to think it through :)
Closing this one for now. But let me know if somebody ports mobX to C# :)
I think this library looks close to MobX
https://github.com/schlangster/cpp.react
@mweststrate Still interested in a C# version? I ported mobx to C# the last three weeks (called Cortex.Net). Complete with Blazor (webassembly) bindings. I've created the obligatory todomvc as a sample:
It's MIT licenced. Before I open up the repository, I'd like to create the documentation. Would be nice to base it on the original MobX docs. Am I allowed to use the original docs as well?
Sure, feel free to copy past whatever suits you!
On Wed, Nov 13, 2019 at 10:03 PM Jan-Willem Spuij notifications@github.com
wrote:
@mweststrate https://github.com/mweststrate Still interested in a C#
version? I ported mobx to C# the last three weeks (called Cortex.Net).
Complete with Blazor (webassembly) bindings. I've created the obligatory
todomvc as a sample:It's MIT licenced. Before I open up the repository, I'd like to create the
documentation. Would be nice to base it on the original MobX docs. Am I
allowed to use the original docs as well?—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mobxjs/mobx/issues/554?email_source=notifications&email_token=AAN4NBDOBDUFW67JQSRR633QTR2SHA5CNFSM4CPO22YKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOED72LKY#issuecomment-553625003,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAN4NBBZO6UUUSJMW6HECRLQTR2SHANCNFSM4CPO22YA
.
@mweststrate Thanks!
Most helpful comment
Closing this one for now. But let me know if somebody ports mobX to C# :)