plyr-react decisions: why the code looks like this