Facebook is relicensing React

Facebook is relicensing React
0

#1

Hopefully, this will assuage any and all anxiety you all have had about making projects with React.


#2

Unfortunately my anxieties stem from my continuing brain farts every time I try to think in components.

IP is the least of my worries :blush:


#3

I use React all the time, always with Javascript ES6 classes, but not with React components or JSX. It works great and is very powerful. Have a look at this.

https://github.com/sabrawer/Documentation/blob/master/rawReact-anIntroduction.pdf


#4

I only flicked through that quickly, but it seems you’re writing React without the React babel preset, so instead of automatically compiled JSX, you’re working with the core React API a little more directly.

Is that right?

If so…why? Seems like a lot of extra typing and potential for bugs this way.


#5
  • There is <= typing
  • One can use pure JS (not mangled for the interpreter)
  • There is no interpreter
  • It allows uninhibited use of ES6 classes

Perhaps you could provide an example in my document which illustrates your objection.


#6

I have no objection to it - I was just curious about why someone would bother to do it this way.


#7

Because it makes it much much easier to do things like this.

https://powerful-ravine-22665.herokuapp.com/resizing

In the downloaded code (in browser resources), search for methods getReactElement().


#8

Very awesome news! :rofl: