Skip to content

v0.1.0

Latest

Choose a tag to compare

@atmulyana atmulyana released this 19 May 10:47

Updates extRefCallback function:

  • the second parameter may be a function
  • its Typescript declaration for return type (not follow React.RefCallback<T>, we fix the return type as (instance: T | null) => void because React.RefCallback<T> sometimes causes incompatibilty type)