Skip to content

Use custom attributes for ViewManagers property setters as in NativeModules #4560

@vmoroz

Description

@vmoroz

ViewManages currently use a single UpdateProperties function and a big switch statement. We should change it to have one method per property as it is done in Objective-C view managers and use custom attributes as we do for the NativeModules.
Ideally we should mimic the same custom-attribute based approach for ViewManagers as developers use today in Java and Objective-C.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions