Thoughts about Single Page Applications

On a side thought of SPA’s mixing business/front-end logic, I find webcomponents fix that quite well. Use them just as normal html elements, bind a few things together (via javascript observers or a framework like polymer that just lets you pepper {{someVariableName}}'s everywhere), and it is entirely server driven (especially with phoenix channels to communicate over). I’m finding it to be remarkable clean! :slight_smile:

3 Likes

see https://github.com/Angarsk8/Loopa-News , it has graphQL, channels, REST, and the front is in Vue, that is simple as plain javascript and powerful like React. I think that VueX could reach almost the purity of ELM, but without the language overhead (small community, high learning curve, etc…)

4 Likes