Here's a not incomprehensive list of similar implementations of this idea: Phoenix Drab/LiveView/Texas, Razor Components, Plotly's Dash, Intercoolerjs/Unpoly (provides view layer only without websockets), Rails StimulusReflex, Ruby Fie, Python Sofi, Python Remi, Node.js Purview, Python Flexx, Python Reahl (AGPL licensed), Python Wdom.<p>I am sure I missed quite a few. Feel free to comment down below with any other library.
This is a very good way of loading components dynamically, and the approach is pretty sound. We use the same technique at yazz.com to dynamically load components with Vue.js:<p><pre><code> <component v-bind:is="page.component"></component></code></pre>
Quite a nice explanation of the pattern, I might try this setup.<p>No real need for the author to make another js lib out of it, but hey, doesn’t hurt.