Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

feat: multiple state declaration #67

Merged
merged 2 commits into from
Dec 7, 2022
Merged

Conversation

Tiagoperes
Copy link
Contributor

Changes the previous contract of state declaration on a component to support more than one state per component.

Before:

{ "_:component": "name", "state": { "id": "id of the state", "value": "value of the state" } }

Now:

{ "_:component": "name", "state": { "id_of_a_state_1": "value_of_this_state_1", "id_of_a_state_2": "value_of_this_state_2" } }

@Tiagoperes Tiagoperes merged commit cb642c6 into main Dec 7, 2022
@Tiagoperes Tiagoperes deleted the feat/multiple-state-declaration branch December 7, 2022 12:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants