Skip to content

Mark initial state and config as readonly - #271

Merged
whymarrh merged 1 commit into
developfrom
readonly-initial
Sep 10, 2020
Merged

Mark initial state and config as readonly#271
whymarrh merged 1 commit into
developfrom
readonly-initial

Conversation

@whymarrh

Copy link
Copy Markdown
Contributor

The initialState and initialConfig properties are only assigned in the constructor so they can be marked as readonly.

@whymarrh
whymarrh requested a review from a team as a code ownerSeptember 10, 2020 19:24
@whymarrhwhymarrh changed the title Mark inital state and config as readonlyMark initial state and config as readonlySep 10, 2020

@estebanminoestebanmino left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👌

@rekmarksrekmarks left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sense-making detected.

@whymarrh
whymarrh merged commit 1bf8a15 into developSep 10, 2020
@whymarrh
whymarrh deleted the readonly-initial branch September 10, 2020 20:07
Mrtenz pushed a commit to Mrtenz/core that referenced this pull request Jun 17, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@whymarrh@estebanmino@rekmarks