Skip to content

Commit

Permalink
clean up shouldUpdate method on RenderUnit
Browse files Browse the repository at this point in the history
Summary: Now that we can granularly update the tree via the tracking in`SignalsMountState`, there's no need for the old approach

Reviewed By: rooju

Differential Revision: D62677578

fbshipit-source-id: c82b98e8f938833d23b9fd5d718c41d7abed8b50
  • Loading branch information
Daniel Famakin authored and facebook-github-bot committed Oct 3, 2024
1 parent 2e74b08 commit 2ddea8a
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -647,8 +647,6 @@ constructor(
}
}

open fun shouldUpdate(newRenderUnit: RenderUnit<MOUNT_CONTENT>): Boolean = this !== newRenderUnit

open fun <T : Binder<*, *, *>?> findAttachBinderByClass(klass: Class<T>): T? {
return attachBinderTypeToDelegateMap?.get(klass)?.binder as T?
}
Expand Down

0 comments on commit 2ddea8a

Please sign in to comment.