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
{{ message }}
This repository was archived by the owner on Aug 27, 2018. It is now read-only.
// Equals must be defined because struct val instances of TodoAppState cannot
// be compared. It is generally bad practice to have mutable values in state in
// this way; myitcv.io/immutable seeks to help address this problem.
// See myitcv.io/react/examples/immtodoapp for an example
func (c TodoAppState) Equals(v TodoAppState) bool {
In your todo sample application, you have a Equal( ) function attached to the state.
Does that mean under your library, React does not take care of determining if the state has changed for the purposes of rendering the actual DOM? It seems like you determine it on the Go side.
In your todo sample application, you have a
Equal( )function attached to the state.Does that mean under your library, React does not take care of determining if the state has changed for the purposes of rendering the actual DOM? It seems like you determine it on the Go side.