v5.0.0
Breaking
-
Dropped EoL Node.js 12 support (#271)
-
Removed implicit
children
prop fromFunctionComponent
to make compatible types with React 18 (UsePropsWithChildren<P>
to includechildren
prop) (#270)-JSXSlack.FunctionComponent<P> +JSXSlack.FunctionComponent<JSXSlack.PropsWithChildren<P>> -JSXSlack.FunctionComponent +JSXSlack.FunctionComponent<JSXSlack.PropsWithChildren<{}>>
Deprecated
-
VoidFunctionComponent
,VFC
,FunctionalComponent
,VoidFunctionalComponent
, andProps
type (#270)Depreacted Replace to VoidFunctionComponent
/VFC
FunctionComponent
/FC
FunctionalComponent
FunctionComponent
/FC
VoidFunctionalComponent
FunctionComponent
/FC
Props<P>
P
Changed
- Upgrade Node and dependent packages to the latest version (#271)