Skip to content

Commit

Permalink
Makes event handler design enabled in code
Browse files Browse the repository at this point in the history
Summary: Makes event handler design enabled in code

Reviewed By: zielinskimz

Differential Revision: D68891713

fbshipit-source-id: f8f4989a5c1bba6df0d5b0913b975e1197301dc8
  • Loading branch information
adityasharat authored and facebook-github-bot committed Jan 31, 2025
1 parent 2a15bc9 commit a47418a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ internal constructor(
val shouldAddHostViewForRootComponent: Boolean = false,
@JvmField
val useIncrementalMountGapWorker: Boolean = IncrementalMountExtensionConfigs.useGapWorker,
val useNonRebindingEventHandlers: Boolean = false,
internal val shouldDisableBgFgOutputs: Boolean = false,
/** The handler [ComponentTree] will be used to run the pre-allocation process */
@JvmField val preAllocationHandler: PreAllocationHandler? = null,
Expand Down Expand Up @@ -149,7 +148,8 @@ internal constructor(
@JvmField val enableFixForCachedNestedTree: Boolean = false,

/** This flag is used to enable the redesigned event handler rebinding logic. */
@JvmField val useStateForEventDispatchInfo: Boolean = false
@JvmField val useStateForEventDispatchInfo: Boolean = true,
val useNonRebindingEventHandlers: Boolean = true,
) {

val shouldAddRootHostViewOrDisableBgFgOutputs: Boolean =
Expand Down

0 comments on commit a47418a

Please sign in to comment.