Skip to content

Changelog

Version v0.4.0

0.4.0 (2025-03-09)

Bug Fixes

Avoid any derived / effect using any option to be re-run when changing any (unrelated) option prop. This results in a big performance boost when changing options. (0b00ad3)

Features

Added new props onCopy, canCopy and onLog allowing implementing custom functionality for the “copy” and “log”-buttons. (875b1d3)

Example:

<Inspect
onCopy={(value, type, path) => { /* custom copy function */ }}
canCopy={(value, type, path) => { /* show / hide copy button if returns true */ }}
onLog={(value, type, path) => { /* custom log function */ }}
/>