Request for code review for a MobX port #27
Replies: 3 comments 5 replies
-
your repository is private |
Beta Was this translation helpful? Give feedback.
-
Hey, did you had a chance to take a look? |
Beta Was this translation helpful? Give feedback.
-
I have looked at the project. It took some time to figure it out, since I'm new to the ui toolkit. In your code, there is a LifetimeVisualElement class that creates a Also in the original example uses not only I tried to reproduce all this in my repository. however this is just a demo, serious improvements are still required to use this approach in real projects |
Beta Was this translation helpful? Give feedback.
-
Hi,
as a learning exercise I ported this React/MobX blog example to UniMob/Unity/UI Builder:
blog:
https://hackernoon.com/how-to-decouple-state-and-ui-a-k-a-you-dont-need-componentwillmount-cc90b787aa37
port:
https://github.com/slimshader/state-routing-blog-unity
in addition for it to hopefully it could be help to others, I'd love if someone could take a look and comment on my version.
note: obvious difference from original (React) is lack of the Components so VisualEments are reused by showing/hiding
Beta Was this translation helpful? Give feedback.
All reactions