Accepted answer

if youre trying to change the categoryList state with your incoming data you need to change your set state to

  categoryList: data,

what youre currently doing is adding a state with key data (even though there is no data key in your getInitialState function). and since youre not using anywhere, nothing is changing, and so your ui does not appear to be updating

Related Query

More Query from same tag