3 ms·
Since about December 2015 I have been learning React-native for my android needs. While I had programmed extensively in Javascript in 2008 (dojo) -- I have fo
by platform 11y ago
Since about December 2015 I have been learning React-native for my android needs. While I had programmed extensively in Javascript in 2008 (dojo) -- I have forgotten number of things, and just essentially re-learning (and I had never done a production mobile app before).
I find JSX, at least within context of react-native is very useful.
I specifically like being able to have this 'duality' of a view for a Component.
JSX allows a custom component to viewed by outside as first-class citizen of an HTML mark up.
But within the component -- it is a class with members, Eiffel-like preconditions for construction, and explicitly managed state.
I think React-folks got the separation between Presenters and Interactors exactly right.
I would not mind even more features where the state management relies on channels that are can contain Parent, children, and may be even 'peer' events.
(something like clojurescript's CoreAsynch for the above 3 categories of events affecting states for a given component).