extract-react-types
extract-react-types copied to clipboard
One stop shop for documenting your react components.
Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1. Changelog Sourced from terser's changelog. v4.8.1 (backport) Security fix for RegExps that should not be evaluated (regexp DDOS) Commits See full diff in compare...
Bumps [jsdom](https://github.com/jsdom/jsdom) from 11.12.0 to 16.5.0. Release notes Sourced from jsdom's releases. Version 16.5.0 Added window.queueMicrotask(). Added window.event. Added inputEvent.inputType. (diegohaz) Removed ondragexit from Window and friends, per a spec...
Because we call `babel.parse()` without specifying the [`filename`](https://babeljs.io/docs/en/options#filename) option ([code](https://github.com/atlassian/extract-react-types/blob/a73f91632d43b6a05d4a380c781e8249257e6bc0/packages/babel-plugin-extract-react-types/index.js#L27)), the plugin is not compatible with projects that have overrides in their Babel config. E.g. if `babel.config.js` contains `overrides: [{...
### Summary This is a POC for introducing a `usePropsExplorer` hook to give consumers the option to create a fully customised props table. **Please note that this is a work...
For example ``` interface Foo { foo: boolean; } interface BarProps extends Foo { bar: string; } const BarComponent: FC = (props) => {} ```
Doesn't work: ```ts import { TextfieldProps } from './types'; const Textfield = forwardRef((props: TextfieldProps, ref) => { ^^^^^^^^^^^^^^^ not extracted return ; }); Textfield.displayName = 'Textfield'; export default memo(Textfield); ```...
The default and hybrid layouts both indicate if a given prop is required. The table layout does not but should. This might require some design work to figure out how...
We are finding that our prop types are getting increasingly complex and sophisticated. At some point `extract-react-types` does not use the TypeScript compiler and it is not reasonable for it...
Hi there, I've installed the package for my nextjs application we're using to build a documentation app. I've copied the example from the storybook but when I run my app,...