ljharb

prop-types-tools

Custom React PropType validators

by ljharb

JavaScript

JavaScript100%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Quiet · 1 in progress · Last activity 9mo ago
See all on GitHub →
mqklin

Will this library continue to support PropTypes validation? If yes, in which way? I'm asking because I don't plan to move to TypeScript, so my only option for now is to write a custom babel-plugin which will call .

mqklin · 1y ago
Nantris

All the other prop types checks we use both from airbnb and elsewhere seem to work as expected, but has no effect no matter where we try it or what we pass it. We're using with . Any thoughts? Is it broken? Surely we can't be the only ones? We do not use Use of airbnb-js-shims, but after reviewing the shims, all functions are already supported in our environment without shimming.

Nantris · 4y ago
knowler

I've expanded the helper to include children of fragments. This resolves #71, which means that the validator can now validate the type of children within fragments. I have added tests for this validator; the tests are copied from the similar tests for children passed an array. This also affects and validators which both use the helper. I have not added the tests for these, but I can if necessary.

knowler · 6y ago
Structured data for AI agents

Repository: ljharb/prop-types-tools. Description: Custom React PropType validators Stars: 663, Forks: 49. Primary language: JavaScript. Languages: JavaScript (100%). License: MIT. Open PRs: 1, open issues: 10. Last activity: 9mo ago. Community health: 85%. Top contributors: ljharb, ahuth, HawkeyePierce89, lifeiscontent, Teaflavored, brucewpaul, znarf, gilbox, sibnerian, lencioni and others.