6.2.0
Minor Changes
-
#305
568f139
Thanks @marvinhagemeister! - Add support for error boundaries viacomponentDidCatch
andgetDerivedStateFromError
This feature is disabled by default and can be enabled by toggling the
errorBoundaries
option:import { options } from 'preact'; // Enable error boundaries options.errorBoundaries = true;