acdlite / acdlite/flummox

Improve HoC connectToStores Docs

Aperta
#136 24 commenti 0 reazioni 0 assegnatari Vedi su GitHub
outdated
Lingua principale
JavaScript
Stelle
1.7k
Fork
109
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I think that the connectToStores HoC pattern is a huge plus for Flummox, and that the actual docs don't showcase how awesome it is (Easy, intuitive Relay-like data fetching from stores).

I'd be happy to send a PR with an updated Quick start, examples and a "Why HoC > FluxComponent > fluxMixin". Also I could introduce

```
contextTypes: {
flux: React.PropTypes.object
},
```

because without it HoC becomes very clunky.

@acdlite basically I just want to check if this is the direction that you want on the guide/docs?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.