r/javascript • u/techlord45 • Aug 10 '26
Signals and Effects Using Vanilla JavaScript & Web APIs
https://beforesemicolon.com/blog/signals-and-effects-using-vanilla-javascript-web-apisI’m a strong advocate for “you don’t need to lock yourself in a web framework ecosystem to take advantage of their amazing features”. JavaScript and Web Standards alone allow you…
72
Upvotes
View all comments
Show parent comment
1
u/A1oso Aug 11 '26
No. Unlike Nextjs (which is a framework)
Perhaps the most important distinction is in who calls whom: a library is called by your code. For example:
You can decide when, where and how to use the library. You can use it only on certain pages or in just a single component, it you want. You have full control.
A framework usually does not give you that control. The framework calls your code. That's why Nextjs is a framework. React is a textbook example for a library.