You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the official bottender doc, it says that
Note: don't modify state directly using this.state.stateKey = stateValue;, it may cause unexpected behavior in the future.
I am wondering is it necessary to use setState function to modify state values? For example, context.setState({form: { ...context.form, inForm: true, },}).
The text was updated successfully, but these errors were encountered:
Hi! Thank you for providing such a good bottender example.
I have problems when reading some state-changing code like the one below:
agricola-score/src/form.js
Line 34 in fdf7928
According to the official bottender doc, it says that
I am wondering is it necessary to use setState function to modify state values? For example,
context.setState({form: { ...context.form, inForm: true, },})
.The text was updated successfully, but these errors were encountered: