hyperion icon indicating copy to clipboard operation
hyperion copied to clipboard

Support MergedRef

Open atootoonchianmeta opened this issue 7 months ago • 1 comments

  • Update data type of nodeRef in ALSurfaceProps support both object reference and callback reference. The later is used for mergedRef
  • use nodeRef if the data type of nodeRef is object

atootoonchianmeta avatar Jul 01 '25 13:07 atootoonchianmeta

I spent a bunch of time on this, but couldn't figure out any mechanism to handle the ref function callbacks AND avoid adding our own wrapper. Therefore, passing a ref function is the same as not passing ref at all and there is not much we can do differently. So, it might be better leave the code as is to signal to users we are not using it.

reshadi avatar Jul 31 '25 04:07 reshadi