For a component here and there React is a pretty bad choice because of its size. Svelte could be a more suitable option, but I’m not so sure it passes the magpie test.
back
2 comments
In my experience this is the use case where vue shines. It's far easier to drop it into an existing html template than to create a react application for a single component.
Magpie test? I couldn't find an answer on google.
The article has a reference and link to [1], where the behavior of constantly looking for new and shiny tech is likened to that of a magpie. As Svelte is still fairly new and not widely used, I think maybe it is in that class of technology.
Makes sense, thanks!