Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explore Context Provider/Consumer for onFormSubmit in ActivityReport pages #301

Open
dcloud opened this issue Feb 17, 2021 · 0 comments
Open
Labels
JIRA Post MVP Issues cut from the MVP scope

Comments

@dcloud
Copy link
Contributor

dcloud commented Feb 17, 2021

Currently, an onFormSubmit function is being passed from the ActivityReport component as a prop through the Navigator component to a handful of "page" components. It may be feasible to use React's Context Provider/Consumer pattern instead of passing props down the component tree.

@marriej marriej added Post MVP Issues cut from the MVP scope JIRA labels Mar 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
JIRA Post MVP Issues cut from the MVP scope
Projects
None yet
Development

No branches or pull requests

2 participants