These are chat archives for jdubray/sam
onclick="doSomething(...)"in raw HTML.
doSomethinghas to be a global variable. Even if you put actions in an object, say
onclick="actions.doSomething(...)", you still need
actionsto be a global variable.
doSomething(..)to segregated calls into a global singleton
doSomethingin a registered module named
__actions_dispatcher.invoke('module1', 'doSomething', ...parms here)
MY_APPor whatever, but that approach takes us back to 10 years ago
app, and the browser will switch to the appropriate engine
PWAs and the enabling technologies are that direction, but I'd like to see the UX story being addressed too, like a better way of styling UI components beside CSS)