JSPM

prop-types-callable

15.5.9
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4
  • Score
    100M100P100Q33419F
  • License BSD-3-Clause

Runtime type checking for React props and similar objects.

Package Exports

  • prop-types-callable

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (prop-types-callable) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

prop-types-callable

This is a fork of React prop-types, intended for use in production.

Differences

The main difference is that all validator functions are manually callable, in both development and production environments, without any warnings.

  • Updated environment checks and tests to allow calling validator functions
  • Expose PropTypeError, a light-weight implementation of native Error object without stack trace
  • Expose only babel transpiled source files, instead of a browserify build