Calling UML experts for help with laying out javascript specific diagrams.
NOTE: react, Flux Architecture, react with redux experience required.
I need help with design decisions on how to represent the structure and behavior of a react app (container and children components). Using Sparx enterprise architect the target is to have standard UML design so the entire team (who many not be very familiar with the technology) can understand whats going on plus UI developers can use it for development.
After we have decided on the UML classes (React Components) we need, Containers, presentation Views and the behavior we are still struggling with:
It seems we need to use two diagrams for each main container to fully represent it, one for structure and one for behavior? Do we need a behavioral diagram if the design follows the conventions?
Should the presentation components in the structural diagram show events triggered or actions being dispatched via the passed down callbacks to props? (example, annotate operations of a Button event to onClick or the dispatch action that onClick will call) or both.
Can we say react actions are Signals? since they are plain js objects and state changes happen in reducers, so we need a Statechart diagram maybe?
Depending on above decisions, how do we reference the Store instance in diagrams (we have one store), should we reference the Store instance in all diagrams or just add a link to its class diagram?
Is it correct to represent Reducers --Set State--> Store as < information flow > and Store -mapStateToProps-> props as a < dependency >?
Can we refer to component propTypes as the class constraints or create an interface instead?
I couldn't find a good reference for a javascript app designed in UML, except some sequence diagrams to partially visualize Nodejs modules. If you got any please send them my way.
Thanks