Open JMStudiosJoe opened 6 years ago
Ah I heard about this yes will look into it. But for now need to determine if we need it yet or not and I’m think long we don’t need it yet. What are your thoughts @thedocbwarren ?
Sent with GitHawk
I don’t think so yetbas there aren’t a lot of components. Context and and some cool patterns can help keep things neat and don’t require redux or difficult property passing.
closing issue since not needed yet
ok so think i have hit the mark where I need redux or something. When viewing a report and user wants to edit it from the modal which is quite a few components deep from MealTallyComponent so is https://reactjs.org/docs/context.html what the cool kids on the block are using these days? @thedocbwarren
I see their example passing a simple string but what about an object or function like editReport which takes a report object then just goes to the MealTallyComponent?
Turns out users will not be editing much and can create a new one to override the one they need to edit but still should think about integrating context or redux.
context it is https://reactjs.org/docs/context.html
@JMStudiosJoe Hi folks, are you guys accepting contributions for this project?
maybe not yet but reviewing this blog https://www.valentinog.com/blog/react-redux-tutorial-beginners/