Join Slack
Powered by
Say I have a component with state like: ``` state...
# react
c
chadmorrow
04/08/2018, 12:25 AM
Say I have a component with state like:
Copy code
state = { var firstName: String var touched: }
If I wanted to update that in javascript i could do something like
Copy code
setState({ ...state, touched = true})
How could I do something like that in Kotlin?
Open in Slack
Previous
Next