Elm vs Vue/React which one do you prefer to use with Phoenix, and why?

React is going to be as tenacious as jQuery was, i.e. it isn’t going anywhere anytime soon.

One issue that I see is the React community’s “it’s just JavaScript” attitude - which doesn’t really encourage the acquisition of general browser-API-based skills and understanding how a browser (and the web) works (because the framework is supposed to abstract those details away).

Tom Dale proclaimed back in 2017 that Compilers are the New Frameworks (Disappearing Frameworks).

Ideally those compilers should use the browser platform as much a possible for performance reasons and there are opportunities to include WebAssembly modules for performance critical functionality not directly supported by the browser.

But in the end those compilers will fragment the frontend space just as much as the frameworks already have. Unlike for desktop applications, frontend compilers are going to have to be a lot more focused on the balancing act of DX vs. generated code volume vs. browser performance.

Keep Betting On JavaScript - Kyle Simpson

AssemblyScript - A TypeScript to WebAssembly compiler

2 Likes