DEV Community

Discussion on: React vs Signals: 10 Years Later

Collapse
 
shadowgg profile image
shadow

I don't know why in these ui library rendering discussions there is not a single mention of how these libraries work well with animation. We are making real apps on the web, not websites. We are competing with native apps. Companies betting on web apps. Browsers helping with new apis (view transtion api) bridging the gap between native and web app. React is designer's nightmare for performance and animation. If UI is reactive, why ui rendering library is not?

Collapse
 
kashanahmad profile image
Kashan Ahmad

This, I've recently gotten into the world of animations and GSAP and it's been hell to use React. Now I need to make myself think twice - When to re-trigger an animation and when to stop react from re-triggering it cuz it wants to.

Collapse
 
peerreynders profile image
peerreynders

We are competing with native apps.

Perhaps you are not familiar with this perspective: The App is a Technology Tiller (2014)

Apps are a popular solution because they are a familiar solution but that doesn't meant they are the optimal solution.

Collapse
 
shadowgg profile image
shadow

"We are competing with native apps." What i meant was users want offline web apps, PWA. Take Excalidraw for example, it's a web app (not a website) and works offline, which is a big deal for a lot of people, education, business.

Thread Thread
 
peerreynders profile image
peerreynders • Edited

There is a wide selection of Application Holotypes.

On top of that the web supports a broad range of interactivity:

So the apparent focus on SPAs can come across as a bit myopic.

An eighteen wheeler can be useful in some situations but that doesn't mean everyone needs one in their driveway.

Thoughtworks Technology Radar (2022 Oct)—Hold: SPA by default