Facebook’s new open source project makes it easier to get started with React
While Facebook has talked about its own tooling for React, most individual developers and startups don’t have the resources a company like Facebook has.
To help these React users get up and running with React, the company today launched “Create React App,” a new open source project born out of a hackathon that bundles the tools it takes to get started with React into a single command-line tool.
“We knew that such projects traditionally haven’t been very successful in the React ecosystem,” Facebook’s Dan Abramov writes in today’s announcement. “Christopher [Chedeau] told me that multiple ‘React CLI’ projects have started and failed at Facebook. The community tools with similar goals also exist, but so far they have not yet gained enough traction.”
The team also stressed that the tool doesn’t lock you in either, which is often a problem with this kind of services. You can always run a single command that will essentially ‘eject’ your configuration and build dependencies into a new project that is independent of Create React App.
“‘Ejecting’ lets you leave the comfort of Create React App setup at any time,” Abramov writes. “You run a single command, and all the build dependencies, configs, and scripts are moved right into your project. At this point you can customize everything you want, but effectively you are forking our configuration and going your own way.”
While this makes getting started with React easier, experienced developers will also probably want to check this new tool out.
Featured Image: Sean Gallup/Getty Images