{"library":"react-externs","title":"react-externs","description":"Google Closure Compiler externs for Facebook React, providing type definitions to enable advanced Closure Compiler optimizations when compiling React applications. Version 0.13.6 targets React.js 0.13.x. This package is tied to older React versions (0.12–0.14) and is no longer maintained. Alternatives include using official React externs or TypeScript definitions for use with Closure Compiler.","language":"javascript","status":"deprecated","last_verified":"Fri May 01","install":{"commands":["npm install react-externs"],"cli":null},"imports":["// No import needed; run closure-compiler with --externs node_modules/react-externs/externs.js","// Pass to compiler: closure-compiler --externs node_modules/react-externs/externs.js ...","// Once included, Closure Compiler knows React API"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"// Install:\nnpm install react-externs\n\n# Compile with Closure Compiler (example using google-closure-compiler):\n# npx google-closure-compiler \\\n#   --js input.js \\\n#   --externs node_modules/react-externs/externs.js \\\n#   --compilation_level ADVANCED","lang":"javascript","description":"Shows how to install react-externs and use it with Closure Compiler via --externs flag.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}