3 ms·
That's a really bizarre way of describing the most popular framework. If it was as cult-ish as you describe I don't think that would be the case. Also I really
by ng12 7y ago
That's a really bizarre way of describing the most popular framework. If it was as cult-ish as you describe I don't think that would be the case.
Also I really think you're overselling the differences between React and Vue. I generally think of them as interchangeable.
- wolco 7y agoYour living in a react mindset. They are not interchangeable unless you do things the react way. Drop one html tag like < <div class="main"> in react and it breaks. Being popular has no bearing on cult-ish status. Popular places like Starbucks can be described that way where a special language is required to order a cup of coffee.
- ng12 7y ago> Drop one html tag like <div class="main"> in react and it breaks. Can you explain? That is entirely valid JSX and you should be able to drop it in any React component.
- wolco 7y agoI didn't know class was valid in jdx previously this had to be changed to className
- ovyerus 7y agoclass is a perfectly valid property in jsx, as it just gets mapped to `{"class": ...}`, however react adopts to use className instead because of the dom api `el.className = ...`, but also some stuff like older versions of IE. most other jsx-based things like hyperapp accept `class` just fine from what i know