blueprint icon indicating copy to clipboard operation
blueprint copied to clipboard

TabsProps has "id" as required, but is not required in component usage

Open bvandercar-vt opened this issue 7 months ago • 1 comments

TabsProps id prop is required, but somewhere this gets changed to optional:

image

image

I think this has to do with the usage of React.PureComponent in AbstractPureComponent, it seems this changes all properties to optional, which could lead to major issues.

At somepoint, all component classes should probably be migrated to functions, per React's reccomendation: https://react.dev/reference/react/PureComponent#alternatives

bvandercar-vt avatar Jul 08 '24 19:07 bvandercar-vt