Few.swift icon indicating copy to clipboard operation
Few.swift copied to clipboard

Add `didRealize` hook to Component

Open Adlai-Holler opened this issue 9 years ago • 1 comments

@joshaber Sometimes it would be nice to be able to customize a Component's behavior from outside, after the render. For example I want to set some scroll view insets after a component is realized, and subclassing component seems like a bit much. What do you think?

Adlai-Holler avatar Jul 09 '15 16:07 Adlai-Holler

Yeah probably. React has a similar hook.

joshaber avatar Jul 09 '15 19:07 joshaber