react-freeze

(★ 1,654)

Prevent React component subtrees from rendering.

File Explorer

  • .editorconfig
  • .eslintignore
  • .eslintrc
  • .gitignore
  • .prettierrc
  • LICENSE
  • package.json
  • README.md
  • tsconfig.json
  • tsconfig.test.json
  • yarn.lock

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

Freeze

View Details ▼

Generate images of code and terminal output.
Supported formats are PNG, SVG, and WebP.
See also: `silicon`.

freeze {{path/to/file}}

Generate an image of code based on a file:

freeze {{path/to/file}} {{[-o|--output]}} {{path/to/output_image.png}}

Specify the output path:

freeze {{[-x|--execute]}} {{command}}

Generate an image of terminal output:

🔍

yarn

View Details ▼

JavaScript and Node.js package manager alternative.

yarn global add {{module_name}}

Install a module globally:

yarn install

Install all dependencies referenced in the `package.json` file (the `install` is optional):

yarn add {{module_name}}@{{version}}

Install a module and save it as a dependency to the `package.json` file (add `--dev` to save as a dev dependency):

🔍

pod

View Details ▼

Dependency manager for Swift and Objective-C Cocoa projects.

pod init

Create a Podfile for the current project with the default contents:

pod install

Download and install all pods defined in the Podfile (that haven't been installed before):

pod list

List all available pods:

// repository documentation