Less React, more JS
Sebastian Wallace
735
This is some great stuff, even as someone who hasn’t worked with React. Always loved functions acting on portable data over large clunky and overly-magical objects.
Now a bit of pedantry: your extend function overwrites your derivative’s properties with your base’s which is pretty unexpected.