Navigating the Front End Wilderness Part 2
Today I ran into major problems trying to setup a React script to query JSON from a site and parse it into something usable. I’m new to this stuff and used an existing tutorial to mangle according to my needs. I ended up with the following code: var PlanetList = React.createClass({ getInitialState: function() { return {Planets: []}; }, componentDidMount: function() { this.serverRequest = $.getJSON(this.props.source, function (result) { var parray = result....