|
1 | | -# 03 Defining Classes |
| 1 | +# 03 Ext JS to React: Defining Classes |
2 | 2 |
|
3 | | -This subdirectory contains apps already generated with create-react-app, as |
4 | | -described in the Instantiation blog post (link here). The source code has been |
5 | | -modified to include the examples in the blog post so you can see it in action. |
| 3 | +This directory contains apps already generated with [create-react-app](https://www.npmjs.com/package/create-react-app), as described in the |
| 4 | +[Instantiation blog post](https://moduscreate.com/blog/extjs-react-class-instantiation-code-style/). The |
| 5 | +source code has been modified to include the examples in the blog post so you |
| 6 | +can see it in action. |
6 | 7 |
|
7 | | -For each of the following examples, cd into the directory and run ```npm |
8 | | -install``` followeed by ```npm run``` |
| 8 | +## Defining Example Projects |
9 | 9 |
|
10 | | -* a-functional-basic - simplest example, importing a single functional component |
11 | | -* b-functional-property - simple example, importing a single functional component that takes a prop |
12 | | -* c-class-instances - referencing class instances example, component declared as a proper JavaScript class. |
13 | | -* d-refs - referencing child components |
| 10 | + - [a-functional-basic](./a-functional-basic): a simple, functional React |
| 11 | + component |
| 12 | + - [b-functional-property](./b-functional-property): a functional component with |
| 13 | + a single prop |
| 14 | + - [c-class-instances](./c-class-instances): a single component extending |
| 15 | + React.Component is defined including its own state and event handler |
| 16 | + - [d-refs](./d-refs): how to create references to elements within a React |
| 17 | + component |
| 18 | + |
| 19 | +### Related Blog Article |
| 20 | + |
| 21 | +[Ext JS to React: Defining Classes](https://moduscreate.com/blog/ext-js-react-defining-classes/) |
0 commit comments