Skip to content

1.2.0 - Suspense

Compare
Choose a tag to compare
@marvinhagemeister marvinhagemeister released this 23 Sep 08:01
536504d

Better Suspense integration

This release contains a much improved integration for the Suspense component. The sidebar contains a new button when a node or a parent is a Suspense component and clicking it will suspend the sub-tree.

Screenshot from 2020-09-22 23-53-00

Key displayed in sidebar

The sidebar will now show the full key of the selected element.

Screenshot from 2020-09-23 09-56-34

HOC-Component filtering (Preview)

In code bases that make extensive use of the HOC-Component pattern, the elements panel could become overly noisy. Inspired by other devtools extension, we've added a filter that flattens HOC-Components. It's not enabled by default yet, because there are some last remaining bugs to shake out. You can give it a go by checking "Experimental Filters" in the Settings panel.

preact-devtools-hocs

Minor Changes

Patch Changes

  • #259 Thanks @bz2! - Add .editorconfig to match prettier config.

  • #250 Thanks @bz2! - Fix TypeError dom is null in updateHighlight.

  • #258 Thanks @bz2! - Refine types on vnode utility functions.

  • #267 Thanks @marvinhagemeister! - Fix Fragments not being filtered with Preact versions other than the devtools was built with.

  • 8f361f3 #265 Thanks @bz2 and @marvinhagemeister! - Fix Suspense nodes not being detected.