Re:Simple React Patterns
by arianvanp on Friday November 10, 2017 @04:10AM
(#15668784)
This is a shorthand for
Note the extra return. We return the JSON decoded response that is our planet.
and use its value to set state if no error occured
[ Parent
| on HN ]