├── 01-intro-to-react-toggled └── index.html ├── 02-compound-components └── index.html ├── 03-flexible-compound-components └── index.html ├── 04-make-higher-order-components └── index.html ├── 05-handling-prop-namespace-clashes-with-higher-order-components └── index.html ├── 06-improve-display-name-with-higher-order-components └── index.html ├── 07-handle-refs-with-higher-order-components └── index.html ├── 08-improve-unit-testability-of-higher-order-components └── index.html ├── 09-handle-statics-properly-with-higher-order-components └── index.html ├── 10-use-render-props └── index.html ├── 11-use-prop-collections └── index.html ├── 12-use-prop-getters └── index.html ├── 13-use-state-initializers └── index.html ├── 14-use-control-props └── index.html ├── 15-implement-a-provider-with-render-props └── index.html ├── 16-implement-a-higher-order-component-with-render-props └── index.html ├── 17-rerender-descendants-through-shouldcomponentupdate └── index.html ├── 18-use-redux-with-render-props └── index.html └── README.md /01-intro-to-react-toggled/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 75 | 76 | 77 | 78 | 79 |
80 | 81 | 149 | 150 | -------------------------------------------------------------------------------- /02-compound-components/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 75 | 76 | 77 | 78 | 79 |
80 | 81 | 171 | 172 | -------------------------------------------------------------------------------- /03-flexible-compound-components/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 75 | 76 | 77 | 78 | 79 | 80 |
81 | 82 | 191 | 192 | -------------------------------------------------------------------------------- /04-make-higher-order-components/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 75 | 76 | 77 | 78 | 79 | 80 |
81 | 82 | 204 | 205 | -------------------------------------------------------------------------------- /05-handling-prop-namespace-clashes-with-higher-order-components/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 75 | 76 | 77 | 78 | 79 | 80 |
81 | 82 | 229 | 230 | -------------------------------------------------------------------------------- /06-improve-display-name-with-higher-order-components/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 75 | 76 | 77 | 78 | 79 | 80 |
81 | 82 | 207 | 208 | -------------------------------------------------------------------------------- /07-handle-refs-with-higher-order-components/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 75 | 76 | 77 | 78 | 79 | 80 |
81 | 82 | 227 | 228 | -------------------------------------------------------------------------------- /08-improve-unit-testability-of-higher-order-components/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 75 | 76 | 77 | 78 | 79 | 80 |
81 | 82 | 238 | 239 | -------------------------------------------------------------------------------- /09-handle-statics-properly-with-higher-order-components/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 75 | 76 | 77 | 78 | 79 | 80 | 81 |
82 | 83 | 228 | 229 | -------------------------------------------------------------------------------- /10-use-render-props/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 75 | 76 | 77 | 78 | 79 |
80 | 81 | 166 | 167 | -------------------------------------------------------------------------------- /11-use-prop-collections/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 75 | 76 | 77 | 78 | 79 |
80 | 81 | 162 | 163 | -------------------------------------------------------------------------------- /12-use-prop-getters/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 75 | 76 | 77 | 78 | 79 |
80 | 81 | 176 | 177 | -------------------------------------------------------------------------------- /13-use-state-initializers/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 75 | 76 | 77 | 78 | 79 | 80 |
81 | 82 | 184 | 185 | -------------------------------------------------------------------------------- /14-use-control-props/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 75 | 76 | 77 | 78 | 79 | 80 |
81 | 82 | 223 | 271 | 272 | -------------------------------------------------------------------------------- /15-implement-a-provider-with-render-props/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 75 | 76 | 77 | 78 | 79 | 80 |
81 | 82 | 368 | 369 | -------------------------------------------------------------------------------- /16-implement-a-higher-order-component-with-render-props/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 75 | 76 | 77 | 78 | 79 | 80 | 81 |
82 | 83 | 397 | 398 | -------------------------------------------------------------------------------- /17-rerender-descendants-through-shouldcomponentupdate/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 |
83 | 84 | 401 | 402 | -------------------------------------------------------------------------------- /18-use-redux-with-render-props/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 |
84 | 85 | 351 | 352 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # advanced-react-patterns 2 | 3 | --------------------------------------------------------------------------------