4 ms·
You can't avoid react because it started a new paradigm. 9 out of 10 frameworks are based on the same principles and native follows suit where even big vendors
by mlsarecmg 9y ago
You can't avoid react because it started a new paradigm. 9 out of 10 frameworks are based on the same principles and native follows suit where even big vendors are changing their strategies for mobile and desktop to align them with reacts principles (react-native, microsofts react-native-windows, reactxp and office fiber, googles kotlin for android, litho, componentkit, etc). Switching from react to something else is sometimes as simple as adding an alias in webpack. If you don't like the license, use preact, inferno, etc. But the idea itself is way too valuable to be in any way affected by petty licensing issues.
- Profragile 9y agoI don't think anyone is against the paradigm. They're against the "no patents against facebook" situation which you can avoid by using else.
- threatofrain 9y agoThe paradigm is everywhere, so just use another library that uses that paradigm, like Inferno or Preact, or even something slightly different like Vue if you want.
- chrisco255 9y agoThe point is those other libraries could be in violation of any patents that Facebook may or may not have with regards to React. Perhaps they have a patent on virtual DOM? That would mean your usage of Inferno, Preact, Vue, or Angular 2+ would violate the patent.
- mlsarecmg 9y agoThat would frankly be impossible. All JSX boils down to is h(name, properties, children) and that is literally it. Each reconciler is different, uses another v-dom, etc. If you wanted to patent react, you patent the mere use of functions. And not just that there are about 20 years of fair use of similar principles, even for jsx in particular which evolved from mozillas e4x and otherwise keeps to basic xml markup and mustaches.
- chrisco255 9y agoI would like to think it's impossible. I just have seen crazier things patented before...https://en.wikipedia.org/wiki/1-Click https://en.wikipedia.org/wiki/1-Click
- developit 9y agoAlso impossible because JSX is independent of React. The specification is only subject to a standard Copyright and is released under the Creative Commons Attribution 4.0 International license.
- mlsarecmg 9y agoWhich is what i said.
- threatofrain 9y agoOops I didn't read carefully.
- thehardsphere 9y agoAs if nobody was ever able to make a user interface before 2013.
- madhadron 9y agoIt didn't start a new paradigm. It's a failure to understand functional reactive programming hidden behind a bizarre mix of HTML and JavaScript.