There are two types of errors we can trigger inside this component: A rendering error and a regular javascript error.
Clicking this button will replace the stringified
object, {"function":"I live to crash"}
, with the original object. This will result in a rendering error.
Clicking this button will invoke an event handler, inside of which an error is thrown.