|
|
@ -0,0 +1,37 @@
|
|
|
1
|
# Playing with React
|
|
|
2
|
|
|
|
3
|
Opinions/impressions coming later, when I have played with this more.
|
|
|
4
|
|
|
|
5
|
## How to run this thing
|
|
|
6
|
|
|
|
7
|
```
|
|
|
8
|
$ npm install -g webpack
|
|
|
9
|
$ webpack --watch
|
|
|
10
|
|
|
|
11
|
# visit index.html in your browser
|
|
|
12
|
|
|
|
13
|
$ vi entry.js # change something!
|
|
|
14
|
```
|
|
|
15
|
|
|
|
16
|
## Ideas
|
|
|
17
|
|
|
|
18
|
* follow "the way", at least at first, see how it works.
|
|
|
19
|
- e.g. JSX, 6to5, webpack (JSX is a react thing, 6to5 & webpack are for
|
|
|
20
|
sanity)
|
|
|
21
|
* things to try
|
|
|
22
|
- build a tiny thingy ("profile badge")
|
|
|
23
|
- put it in a list
|
|
|
24
|
- sort the list
|
|
|
25
|
- filter the list
|
|
|
26
|
- make the filter dynamic (optional/difficult)
|
|
|
27
|
* in the future:
|
|
|
28
|
- try out immutable.js & reimplement the above
|
|
|
29
|
|
|
|
30
|
## Resources
|
|
|
31
|
|
|
|
32
|
* [React.js Conf 2015](https://www.youtube.com/playlist?list=PLb0IAmt7-GS1cbw4qonlQztYV1TAW0sCr)
|
|
|
33
|
seemed fun & quite interesting. For inspiration, watch [HYPE!][hype]
|
|
|
34
|
* [om](https://github.com/omcljs/om), because you actually want to use
|
|
|
35
|
Clojure ;)
|
|
|
36
|
|
|
|
37
|
[hype]: https://www.youtube.com/watch?v=z5e7kWSHWTg
|