News for hackers. Stuff that matters.
Re:A single-page app is almost always worse than a multi-pag... by wild_preference on Tuesday October 30, 2018 @12:21PM (#18338274)
Eh, let's avoid eye-rolling hysterics on this forum and stay practical.

There are components that are complex enough to warrant a view library, embedded in an application that's not. In fact, it doesn't take much complexity at all, in my experience. At which point loading a view library a la carte is your only real option.

What doesn't make sense about that?

Re:A single-page app is almost always worse than a multi-pag... by jhall1468 on Tuesday October 30, 2018 @01:50PM (#18339406)
There are applications that warrant a view library. There's not a single case where importing two view frameworks with one handling the "complex components" makes any sense. React can also do very simple components. Pick one and run with it. If your application is complex enough to warrant a complex UI library, use a complex UI library.

The complexity involved in using two different libraries that handle the rendering in very different ways (one doesn't even do the rendering, so now you have two rendering solutions in addition to two view libraries. Yay!) in the name of simplifying your code is an absolute joke.