in test.js [230:234]
static getDerivedStateFromProps(nextProps, prevState) { return { foo: 'foo', }; }