I hereby claim:
- I am chrisui on github.
- I am chrisui (https://keybase.io/chrisui) on keybase.
- I have a public key ASAU3gLmS3BbBl6xAi_lMk0iFWHBN92EvlaF9DL6xhR82wo
To claim this, I am signing this object:
{ | |
"root": "project", | |
"sourceRoot": "project/src", | |
"projectType": "application", | |
"targets": { | |
"serve": { | |
"executor": "..." | |
}, | |
"dev": { | |
"executor": "my-executor-pkg:serve" |
I hereby claim:
To claim this, I am signing this object:
const A = () => <div />; | |
const B = ({children}) => children(); | |
const C = () => <B>{() => <A />}</B>; |
export const testComponent = ( | |
Component: RC, | |
defaultProps? | |
: () => Object | |
= () => ({}), | |
) => { | |
return (otherProps: Object, hoc?: (RC) => RC) => { | |
// our final props for the component merged from default | |
// and per-test |
function Text(props) { | |
return <Span color="black" {...props} /> | |
} | |
const BlueText = withProps({ | |
color: 'blue' | |
})(Text) |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"/> | |
<meta name="viewport" content="width=device-width, initial-scale=1"/> | |
<title>Webpack Bundle Analyzer</title> | |
<!-- viewer.js --> | |
<script> |
export function Component({state, increment}) { | |
return ( | |
<div> | |
{state.count} hits! | |
<button onClick={increment}>Hit me!</button> | |
</div> | |
); | |
} |
These stats were made available from https://github.com/lystable/recon | |
Num modules parsed | |
How many modules did we explore? | |
1243 | |
--- | |
Num components |
Num modules: | |
1123 | |
Num components: | |
647 | |
Most depended on components: | |
[ { name: 'Text', usages: 568 }, | |
{ name: 'Button', usages: 160 }, | |
{ name: 'Icon', usages: 127 }, |