React Hooks: useState updater function: Why does this hook remove the object upon drag?

后端 未结 0 476
隐瞒了意图╮
隐瞒了意图╮ 2020-12-22 03:35

I have a marker on a map which takes this function upon dragging:

  function handleOnDragEndUpdateMarker(e) {
    var markerIndex = e.target.options.marker_in         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题