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”

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”

Sneak peek for my synchronous rendering talk in #ReactNativeEU in 2 weeks.. a working PoC! …

  • Updates made to React components from the JavaScript thread are batched together periodically and sent over the React Native bridge to be performed in the native realm (eventually on the main thread).
  • If we had some way to render components directly from the native realm without going to the JavaScript realm, we could use this ability to remove the overhead in the above scenarios.
  • In JavaScript, a React component will be registered in the exact same way under a new registry called :

    From the native side, the would support two main actions: being created and updating its props.

  • Since the React logic for the synchronous components is still defined in JavaScript, when the component is registered in (usually on JavaScript initialization), we’re going to create a serializable template recipe of how to instantiate it from native.
  • We can eventually port all the core React Native components to be part of this family, just by moving any business logic they have in JavaScript to native.

rn-synchronous-render – Experiments with synchronous rendering in React Native
Continue reading “Sneak peek for my synchronous rendering talk in #ReactNativeEU in 2 weeks.. a working PoC! …”

Modern static site generation

  • There is this function called Server Side Rendering where you can produce static HTML content directly from a tree of React.js components.
  • At the time of reading this, this site will already be served by GitHub pages and the content you will see once you view the source it’s been generated by Gatsby.js.
  • Here’s my list:

    At the time that I started following them, all of them were in a very early stage and none of them could generate my site’s content the way I wanted and in the same way as my previous one so to not lose paths and certain functionalities.

  • Think of when you are caching the home page of a WordPress powered site and you are serving the cached content to every visitor.
  • Imagine that instead of having memcached caching your HTML in front of your WordPress site, you trigger a hook each time your database changes that will re-generate the frontend using Gatsby.

In this post, I will talk about static site generators. How they have evolved and why I switched from a Ghost powered site to Gatsby.js, a modern static site generator.
Continue reading “Modern static site generation”

Check my Universal Reactjs boilerplate #es6 #javascript #mongodb #nodejs #reactjs #redux #webdev #webdevelopment

  • , contains dumb React components which depend on containers for data.
  • , contains starting template (if project got cleaned with ).
  • Container care about how things work, while Component care about how things look.
  • You can see the sample app with this script if you’re not cleaning the project yet

    Before start the new project, you can use this script to remove the sample app, this script will remove everything inside and directories, and generate the starting and

    Bundle all the files, it will create the for all the style files, for the client app, and for the server app.

  • If you want to see your project in production environtment

    This Universal ReactJS Starter-kit is packed with plop generator, you can generate component or container template using this script

universal-react-starter – Universal React starter with Redux, React Router, Express, CSS/SASS Module, Mongoose, Webpack.
Continue reading “Check my Universal Reactjs boilerplate #es6 #javascript #mongodb #nodejs #reactjs #redux #webdev #webdevelopment”