preact-markup
preact-markup copied to clipboard
Re-render markup when components prop changes
Fix for issue #25: change the shouldComponentUpdate function to allow re-rendering when the components prop changes.
It's weird that Github isn't showing the easy "update" button - I fixed the test runner issue on master.
I rebased with master anyway, that should get Travis running
Hey, can we get this merged? It would really help in my current project.
This PR looks like it could / should be merged? :)
I would just change this comment:
// one of the components changed:
...with:
// one of the components changed, or a new one was added:
(to more accurately describe the possible cases)