105 requestDeferredLane,
106 markSkippedUpdateLanes,
107▶ isInvalidExecutionContextForEventFunction,
108} from './ReactFiberWorkLoop';
109
· · ·
200};
201
202▶// The effect "instance" is a shared object that remains the same for the entire
203// lifetime of an effect. In Rust terms, a RefCell. We use it to store the
204// "destroy" function that is returned from an effect, because that is stateful.
· · ·
204▶// "destroy" function that is returned from an effect, because that is stateful.
205// The field is `undefined` if the effect is unmounted, or if the effect ran
206// but is not stateful. We don't explicitly track whether the effect is mounted
· · ·
236};
237
238▶type EventFunctionPayload<Args, Return, F: (...Array<Args>) => Return> = {
239 ref: {
240 eventFn: F,
· · ·
244};
245
246▶export type FunctionComponentUpdateQueue = {
247 lastEffect: Effect | null,
248 events: Array<EventFunctionPayload<any, any, any>> | null,
+ 185 more matches in this file