Visx: Error when using ParentSize - unrecognized prop enableDebounceLeadingCall

Created on 15 Jul 2020  路  1Comment  路  Source: airbnb/visx

Greetings.
I'm seeing an error React does not recognize the 'enableDebounceLeadingCall' prop on a DOM element. when using ParentSize

I believe it is because enableDebounceLeadingCall is caught in ...restProps, which is then passed to the div.

const { className, children, debounceTime, parentSizeStyles, ...restProps } = this.props;
return (
  <div style={parentSizeStyles} ref={this.setTarget} className={className} {...restProps}>
...
馃悰bug

Most helpful comment

Fixed in https://github.com/hshoff/vx/issues/763 will be released in v0.0.199

>All comments

Fixed in https://github.com/hshoff/vx/issues/763 will be released in v0.0.199

Was this page helpful?
0 / 5 - 0 ratings

Related issues

BrianRosamilia picture BrianRosamilia  路  3Comments

EfosaSO picture EfosaSO  路  4Comments

hellosmithy picture hellosmithy  路  3Comments

goaaron picture goaaron  路  3Comments

ghost picture ghost  路  5Comments