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 Jan 26, 2021. It is now read-only.
See Survey render method for example. The problem is that the code gets hard to mantain and test.
The solution consists (normally), as stated in the docs, on lifting-up and using render callbacks. For example, Survey (parent) should store States (e.g. Data) that are used by (1) childs who need them as input (e.g., MainSkymap or MiniSkymaps): this is the lift up; and (2) childs who modify these values through user interactions (e.g. SurveyControls): these need the render callbacks.
See Survey render method for example. The problem is that the code gets hard to mantain and test.
The solution consists (normally), as stated in the docs, on lifting-up and using render callbacks. For example, Survey (parent) should store States (e.g. Data) that are used by (1) childs who need them as input (e.g., MainSkymap or MiniSkymaps): this is the lift up; and (2) childs who modify these values through user interactions (e.g. SurveyControls): these need the render callbacks.