v0.6.0
-
breaking: remove the react type helper from the core, make it an opt-in import for React users, and make
@types/react
a peer dependencyIf you were importing the
ReactElementAttribute
type helper, now you should import it like this:import type {ReactElementAttributes} from '@lume/element/react'
Without this, the element-behaviors package will fail to import
@lume/element
because@types/react
is not installed.