Facebook Isn’t Budging on React’s BSD + Patents License – WordPress Tavern

Facebook Isn’t Budging on React’s BSD + Patents License  #reactjs #WordPress

  • Last month React users petitioned Facebook to relicense the project (and its other open source projects) after the Apache Software Foundation (ASF) added Facebook’s BSD+Patents license to its Category X list of disallowed licenses for Apache PMC members.
  • The request for re-licensing had received 851 “thumbs-up” reactions on GitHub and many developers commented to say that the ASF’s policy disallowing the BSD+Patents license affects their organizations’ ability to continue using React and other open source projects from Facebook.
  • Wolff’s post announcing Facebook’s decision said that the team has not done a good job of communicating the reasons behind its BSD + Patents license and offered a more in-depth explanation:

    As our business has become successful, we’ve become a larger target for meritless patent litigation.

  • “While we respect this decision, it hurts to see so many great ASF projects get churned for policy reasons after using this license for years,” Wolff said in Facebook’s announcement.
  • The company made it clear that they will not be re-licensing React or any other projects simply to satisfy ASF’s policy requirements.

Last month React users petitioned Facebook to relicense the project (and its other open source projects) after the Apache Software Foundation (ASF) added Facebook’s BSD+Patents license to its Category X list of disallowed licenses for Apache PMC members. Participants and subscribers to the GitHub thread waited weeks for a decision on re-licensing while Facebook’s engineering directors discussed the matter internally. The request has now formally been denied.
Continue reading “Facebook Isn’t Budging on React’s BSD + Patents License – WordPress Tavern”

New & Upcoming Course Highlights: Introduction to Core Data & React Native

Read more about our new #ReactNative and #CoreData courses here:  #learntocode

  • Here’s a short list of what we’ve added recently, upcoming course highlights, and our weekly video update of What’s New at Treehouse.
  • React Native is a great option for creating performant iOS and Android applications that feel at home on their respective platforms, all while building on any previous web development experience.
  • In this course we will be building the ultimate superhero app.
  • By the end of this course you should have the confidence to build upon the app that we started and take it to the next level.
  • Saving data on your device is a fundamental part of building apps and in this course we’re going to learn how to use the Core Data framework to persist data between launches by building a simple to-do list app.

Every week, new courses and workshops are published to the growing Treehouse Library! Here’s a short list of what we’ve added recently, upcoming course highlights, and our weekly video update of What’s New at Treehouse.
Continue reading “New & Upcoming Course Highlights: Introduction to Core Data & React Native”

Is your company using React JS framework? You can’t go against Facebook !

Is your company using React JS framework? You can't go against Facebook !

  • This is Facebook’s T&C if you are using React JS framework.
  • To summarize:

    If you use React, you cannot go against Facebook for any patent they hold.

  • So if you are a startup hoping for million dollars acquisition from large companies like Google, Amazon etc. hold on to your dreams.
  • Potential buyers will not touch you with a ten-foot pole, if buying you means they have to surrender their rights to ever sue Facebook for patent infringement.
  • Source: If you’re a startup, you should not use React (reflecting on the BSD + patents license)

Is your company using React JS framework? You can’t go against Facebook !
Continue reading “Is your company using React JS framework? You can’t go against Facebook !”

Text Input Mask for React Native – CloudBoost

Text Input Mask for React Native.



#reactJS #javascript

  • Text Input Mask for React NativeWhen I first time got a task in the project I was working on to make a masked text input in React Native, I absolutely didn’t expect that it would be so difficult to implement.
  • I just thought “ok, will install some RN module or make it by myself using onChangeText”, yep…After many attempts with methods of TextInput like onChangeText, onKeyPress, selection I finally did it with not good performance for iOS, but not for Android, because onKeyPress method of TextInput is not implemented for Android yet.
  • More over there was no selection property yet in the version of React Native I was working on to change a position of carriage, so I had to write it by myself in Objective-C and Java, imagine how I was wondering when saw it in the next version of RN :)I didn’t find any solution and module that fits my needs to close the task so decided to write my own one, here it is:I’ve just integrated these great native RedMadRobot’s libraries to React Native:Installationnpm install –save link Android it just works.For iOS you have to drag and drop InputMask framework to Embedded Binaries in General tab of Target and check ‘Yes’ in ‘Always Embed Swift Standart Libraries’ of Build Settings.

When I first time got a task in the project I was working on to make a masked text input in React Native, I absolutely didn’t expect that it would be so difficult to implement. I just thought “ok…
Continue reading “Text Input Mask for React Native – CloudBoost”

Maintaining a fork of create-react-app as an alternative to ejecting

Maintaining a fork of create-react-app as an alternative to ejecting:  #ReactJS

  • How everything worksFacebook’s create-react-app is a multi-package repository, powered by Lerna.Lerna is a tool that optimizes the workflow around managing multi-package repositories with git and npm.
  • © Docs.So create-react-app is just a shell storing all its packages in a /packages folder.
  • After you install it, it runs a postinstall command from the main package.json, which in turn runs Lerna’s bootstrap script, which does some magic: basically moves or symlinks nested packages into your main node_modules folder allowing to require or import them as usual.The only package you need to bother about is located in /packages/react-scripts.
  • It exposes all the configuration and scripts your own project (if it was generated by create-react-app), uses to start, build, etc.
  • Have a look at scripts section of your project’s package.json.Moreover, react-scripts is the only dependency left in your package.json after create-react-app have initialised.

I started using create-react-app instead of configuring build tools (webpack, babel, etc.) by myself a while ago and it saved me a lot of time and frustration. Thanks, Facebook! But.. Sometimes you…
Continue reading “Maintaining a fork of create-react-app as an alternative to ejecting”

Migrate from #ReactJS to @PreactJS with One Command $ npm install -g bye-react $ bye-react

  • Migrate your project from React to Preact with a single command.
  • More specifically, this tool switches the project over to preact-compat, the “compatibility layer that makes React-based modules work with Preact, without any code changes”.
  • When you first run backups are made of all config files modified by this tool.
  • Running these undo commands restores these files to their original state.
  • It also uninstalls preact and reinstalls react and react-dom.

bye-react – Command-line tool to migrate React to Preact
Continue reading “Migrate from #ReactJS to @PreactJS with One Command
$ npm install -g bye-react
$ bye-react”