Can I change value dynamically after the initial render i.e. not using the initial property. I need to change value of switch selector depending on the state. I tried setting value property to a state variable but it doesn't work. Any ideas?