These are chat archives for jdubray/sam

9th
Oct 2016
Jean-Jacques Dubray
@jdubray
Oct 09 2016 03:48
@foxdonut @edmulraney I think this article touches on the key difference between ng2 and react: https://dzone.com/articles/understanding-ngzone
Robert Blixt
@devghost_twitter
Oct 09 2016 09:52
For organizational purposes would it make sense to have separate theme/view/state/action files for different parts of the web application (e.g. separate main app page from an account page)?
Jean-Jacques Dubray
@jdubray
Oct 09 2016 09:58
This message was deleted
This message was deleted
This message was deleted
Jean-Jacques Dubray
@jdubray
Oct 09 2016 10:19
@devghost_twitter You can look at the TODO MVC sample (ES6 mode), I would advise using a central configuration point like this
But then you use ES6 to modularize each aspect of the pattern, there would not be any problem splitting up these actions in different files
It would work fine in ES5 too.
The SBAdmin template sample can give you an idea on how to modularize the view in "theme components", including the various dependencies (JQuery, Bootstrap...)
Robert Blixt
@devghost_twitter
Oct 09 2016 12:07
@jdubray great! thanks for the help. Will dig into it now.