acdlite / acdlite/flummox

Incomplete documentation around FluxComponent

Open
#208 3 comments 0 reactions 0 assignees View on GitHub
docs outdated question
Dominant language
JavaScript
Stars
1.7k
Forks
109
PR merge metrics
No merged PRs in 30d

Description

I spent a good hour trying to figure this out until I found #61. `flux` it is not available on the react context unless you explicitly include it in `contextTypes`:

``` js
contextTypes: {
flux: React.PropTypes.any
}
```

`this.context.flux` is undefined in a react component until you add the `contextType`. Just adding a note to that effect to the docs would be enormously helpful to beginners.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.