-
Notifications
You must be signed in to change notification settings - Fork 1
State Management
Shun Kosaka edited this page May 16, 2022
·
2 revisions
Three contexts are used to manage commonly used states within the mobile app.
- Localization: global modules to translate messages and labels using expo-localization.
- Auth Context: global variable to toggle between login screen and survey features.
- Survey Editor Context: global variables to manage editing survey values. The
Survey Editor
screen consists of several types of child components that depend on the field type. The parent screen itself centralizes this context, and when a field worker updates an item value on the screen, the field value is propagated from the child components to the parent screen.
See src/context folder for the full source code.
Explanation coming soon
Explanation coming soon
Explanation coming soon
- Home
- About this project
- Architecture Overview
- Getting Started
- Getting Your Field Workers Started
- Further Customization
- Contributing as a Developer to This Project
- Community Work History
- 2021 February Community Sprint
- 2021 May Working Meeting
- 2021 June Community Sprint
- 2021 June Community Sprint (EMEA)
- 2021 August Working Meeting
- 2021 September Working Meeting
- 2021 October Working Meeting
- 2021 October Community Sprint
- 2021 November Working Meeting
- 2021 December Working Meeting
- 2022 January Working Meeting
- 2022 February Working Meeting
- 2022 March Working Meeting
- 2022 April Working Meeting
- 2022 May Community Sprint
- 2022 June Working Meeting
- 2022 July Working Meeting
- 2022 August Working Meeting
- 2022 September Working Meeting
- 2022 October Working Meeting
- 2022 November Sprint
- 2022 November Working Meeting
- 2023 January Working Meeting
- 2023 February Working Meeting
- 2023 March Sprint
- 2023 May Sprint
- Additional Working Docs