New blog entry: "Rethinking reactivity" #69
Replies: 11 comments 12 replies
-
Found a typo:
|
Beta Was this translation helpful? Give feedback.
-
Hi @tipiirai , it'd stay like this forever right? Svelte recently added |
Beta Was this translation helpful? Give feedback.
-
Some discussion about this on Hacker News: https://news.ycombinator.com/item?id=37734251 |
Beta Was this translation helpful? Give feedback.
-
would it be possible to export the state? so it'll behave like a global state. Would be fun to use! unlike react for which we need external libraries |
Beta Was this translation helpful? Give feedback.
-
Great article! Two points:
|
Beta Was this translation helpful? Give feedback.
-
Thank you for writing this blog post.
|
Beta Was this translation helpful? Give feedback.
-
One comment about the article is --- it buries the lede a little bit. I am guessing a lot of people who click on a title like 'Rethinking reactivity' are developers with a fairly advanced understanding of reactivity in JS frameworks. Those people don't need all the context of the full article but are kind of looking for the condensed, single-paragraph technical answer: Does it use Signals? Does it use VDOM? How fine-grained is it? Do we wrap calculations in If I could make one change, I would add a paragraph at the top to briefly explain the reactivity model to the nerds, and let everyone else skip past that to the long version. |
Beta Was this translation helpful? Give feedback.
-
When I first learned web development I liked HTML, CSS and JS. Which is really pure writing, but to stay relevant to my work I learned React (JSX) and started to hate writing purely. Angular, Vue and Svelte are almost the same as pure writing, but with Nue I feel like my experience of learning web development comes back to me. Hopefully in the future the timeline for this project will be on time. Obviously this cuts down on material while studying and makes it easier for people to work. Thanks @tipiirai. |
Beta Was this translation helpful? Give feedback.
-
I don't think getters are reactive. ex: after adding a
|
Beta Was this translation helpful? Give feedback.
-
There's now a JS proposal for native signals: https://github.com/tc39/proposal-signals Here's some write up from one of the authors of the proposal: https://eisenbergeffect.medium.com/a-tc39-proposal-for-signals-f0bedd37a335 |
Beta Was this translation helpful? Give feedback.
-
Hey @yerlaser. This is bit of a rant, but here we go. The signals proposal perfectly illustrates how framework thinking has warped our perspective on web development. We're trying to standardize complex reactive patterns when the real solution is questioning why we need such complexity in the first place. Consider what signals aim to solve: managing UI updates when data changes. But this "problem" largely exists because we've normalized JavaScript monoliths where everything - markup, styling, business logic - lives in framework components. The complexity of signals (or hooks, or observables) becomes necessary only when we abandon proper separation of concerns. The web platform already provides elegant solutions through standards:
When you work with these standards rather than against them, the need for complex reactivity patterns disappears. Your HTML stays semantic, your CSS handles presentation, and JavaScript remains focused on true interactivity needs. The push for signals is a symptom of framework thinking - trying to solve framework-created problems with more framework abstractions. The real solution isn't standardizing complexity, it's returning to the natural strengths of web standards through proper separation of concerns. This doesn't mean signals are inherently bad - they may be useful for truly complex application state. But for most websites and many web applications, they represent unnecessary complexity that could be avoided through better architecture. |
Beta Was this translation helpful? Give feedback.
-
My attempt to explain how Nue JS internals work and how Nue is different from the other frameworks:
https://nuejs.org/blog/rethinking-reactivity/
Or course the site has a brand new blogging area.
Curious to hear your thoughts!
Beta Was this translation helpful? Give feedback.
All reactions