Sfoglia il codice sorgente

some impressions & a note to tryout css-layout

Lucas Stadler 11 anni fa
parent
commit
a58f73fe66
1 ha cambiato i file con 17 aggiunte e 1 eliminazioni
  1. 17 1
      js/react/README.md

+ 17 - 1
js/react/README.md

1
# Playing with React
1
# Playing with React
2
2
3
Opinions/impressions coming later, when I have played with this more.
3
More opinions/impressions coming later, when I have played with this more.
4
5
## Impressions
6
7
* ES6 is quite cool, especially if you wrote just plain JS before (using
8
    [6to5](http://6to5.org))
9
10
    Some things: `import React from "react";`, template strings, `() => ...`,
11
* `webpack` is fun/convenient/surprisingly fast (and has support for
12
    all the things we use here, e.g. react/jsx, 6to5, css)
13
* JSX works well, even though I'd prefer doing it in Clojure (`hiccup`
14
    syntax, e.g. nested vectors & collections. has someone written a library
15
    for that already?)
16
* showdown, which was suggested by the tutorial, doesn't work with module
17
    loaders and it was a pain to figure out how to fix it. (the fix was
18
    using a different library.)
4
19
5
## How to run this thing
20
## How to run this thing
6
21
27
    - make the filter dynamic (optional/difficult)
42
    - make the filter dynamic (optional/difficult)
28
* in the future:
43
* in the future:
29
    - try out immutable.js & reimplement the above
44
    - try out immutable.js & reimplement the above
45
    - try out `css-layout` and/or `styles` in js
30
46
31
## Resources
47
## Resources
32
48