Skip to content
This repository was archived by the owner on Jan 26, 2021. It is now read-only.
This repository was archived by the owner on Jan 26, 2021. It is now read-only.

Using too many ref's is not good practice #12

@jgalazm

Description

@jgalazm

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions