Re:Alpine.js: A minimal framework for composing JavaScript b...
by mnoga23 on Monday February 10, 2020 @05:39AM
(#22287939)
Looks like client side scriplets - html(structure) mixed up with code(behavior). Can lead to spaghetti code just like it did in the old days (pre JSP) on server side java.
[ Parent
| on HN ]
Re:Alpine.js: A minimal framework for composing JavaScript b...
by AlchemistCamp on Monday February 10, 2020 @10:12AM
(#22289727)
That's remarkably similar to what I heard people saying about React in 2014.
Re:Alpine.js: A minimal framework for composing JavaScript b...
by root_axis on Monday February 10, 2020 @01:46PM
(#22291962)
The criticism isn't really accurate for react though. React only mixes markup and code in the sense that markup is produced through function calls rather than as the result of processing arbitrary strings.