andreypopp / andreypopp/react-async
object is not a function
Aperta
- Lingua principale
- JavaScript
- Stelle
- 440
- Fork
- 24
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Hello.
I'm trying to use this with https://github.com/koba04/react-boilerplate
But I'm getting an error saying:
```
Artist = (0, _reactAsync2['default'])(MyComponentObservables)(Artist) || Art
^
TypeError: object is not a function
```
from this
```
function MyComponentObservables(props) {
return {
user: defineXHRObservable(`/api/user`)
}
}
@Async(MyComponentObservables)
export default class Artist extends React.Component {
```
Any ideas?
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.