onejs-react 0.1.6 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/host-config.ts +2 -0
package/package.json
CHANGED
package/src/host-config.ts
CHANGED
|
@@ -12,6 +12,7 @@ declare function clearTimeout(id: number): void;
|
|
|
12
12
|
|
|
13
13
|
declare const console: { log: (...args: unknown[]) => void; error: (...args: unknown[]) => void };
|
|
14
14
|
|
|
15
|
+
|
|
15
16
|
// Priority constants from react-reconciler/constants
|
|
16
17
|
// These match React's internal lane priorities
|
|
17
18
|
const DiscreteEventPriority = 2;
|
|
@@ -435,6 +436,7 @@ function untrackParent(child: CSObject) {
|
|
|
435
436
|
}
|
|
436
437
|
}
|
|
437
438
|
|
|
439
|
+
|
|
438
440
|
// Apply event handlers
|
|
439
441
|
function applyEvents(instance: Instance, props: BaseProps) {
|
|
440
442
|
for (const [propName, eventType] of Object.entries(EVENT_PROPS)) {
|