Paul Krill
Editor at Large

React JavaScript library gets new tools

news
Aug 7, 20152 mins

The upgraded tools feature tree view, component-searching, and a defined API for working with internals

React, a JavaScript library co-developed by Facebook and Instagram for building user interfaces, is getting “entirely new” developer tools.

The tools, which are in a beta release stage, feature such capabilities as a tree view, for richer views of props; component searching; and a side pane, for showing context of a component.

“Perhaps the biggest reason [for new tools] was to create a defined API for dealing with internals, so that other tools could benefit as well and not have to depend on implementation details,” said project participant Jared Forsyth, in the React blog, this week. ” This gives us more freedom to refactor things internally without worrying about breaking tooling.” The tools are much less coupled to the Chrome browser, according to Forsyth.

Programming with React is akin to working with a game engine, with screens cleared at the beginning of each frame and redrawn, as opposed to a traditional data-binding approach, React team member Pete Hunt explained in an InfoWorld interview in 2014. Hunt described React as having “a fundamentally different mental model for building user interfaces.” Used as the “View” part of the Model-View-Controller pattern, React abstracts the DOM, with the intention of providing a simpler programming model and better performance.

The new tools are more extensible and hackable, being “100-percent React,” Forsyth said, and they’re compatible with both the Firefox browser and React Native, for building native iOS apps via React and JavaScript. The featured tree view capability emphasizes custom components and offers improved keyboard navigation. With the searching capability, components can be searched by name.

Installing the tools requires users to disable the Chrome Web store version of React tools. The new tools can be accessed at this GitHub page.

Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author