-
-
-
Finally, a PoLP solution only works if there are strong, very general escape valves. If they exist, you get the benefits but don't get stuck
End of conversation
New conversation -
-
-
@wycats Fair. React doesn't use "just JS" neither. We use a declarative subset (free of side-effects + idempotent) for the same reasons. -
@sebmarkbage@wycats declarative subset doesn't seem truthful. It is really an gentlemen's agreement enforcing those two required invariants -
@stefanpenner@sebmarkbage https://facebook.github.io/react/docs/jsx-in-depth.html … "You don't have to use JSX with React. You can just use plain JS" -
@stefanpenner@sebmarkbage Later... "It doesn't alter the semantics of JavaScript." -
@stefanpenner@sebmarkbage https://zapier.com/engineering/react-js-tutorial-guide-gotchas/ … "So far, I've explained this weird JSX thing ... (which is really just JavaScript)" -
@stefanpenner@sebmarkbage https://news.ycombinator.com/item?id=9861718 "No need to read pages of documentation about ng-repeat ... it's all just Javascript." -
@stefanpenner@sebmarkbage https://www.codementor.io/reactjs/tutorial/react-vs-angularjs … "Looping in React is relatively simple, as JSX is just JavaScript" -
@stefanpenner@sebmarkbage Hopefully that's enough examples. "Just JavaScript" is a marketing phrase used by React core and community
End of conversation
New conversation -
-
-
@wycats paid for in added complexity? -
@wycats “Just JS” has better encapsulation properties. -
@ericf that's not what the PoLP is about -
@wycats I’m talking about the comparison between Handlebars/HTMLBars + JS vs. Just JS part of what you said. -
@ericf I don't see why a less powerful language for templating inherently means worse encapsulation. -
-
@stefanpenner@wycats in my experience (with Handlebars), foo.js + foo.hbs + helpers.js splits the conceptual task into two different worlds -
@ericf@stefanpenner it's not really analogous to Ember components
End of conversation
New conversation -
-
-
@wycats thanks for sharing Yehuda Katz, have a great Monday :) (insight by http://commun.it )Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@wycats that part never really worked for us.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.