forked from App2Sales/react-native-switch-selector
-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
SwitchSelector is not allowing me to set value dynamically(by dynamically I mean fetching data from database and then setting value of selector according to data arrived from database),
I have to hardcode initial value, after that initial value will not reflect changes as state of functional component changes.
I know it is mentioned in documentation that initial prop is just for initial render, but there should be some way to set value of switchselector on state changings...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels