You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Redux could be a better way to manage state, since we pass so much information in as props and have a bunch of passed in functions that we call (e.g. functions passed in from Network.Js to be called by the buttons in controls.js)
The text was updated successfully, but these errors were encountered:
Our App's State will basically only need: {
time: 10.001,
messages: [{each message contains: transaction contents, from, to, sendTime, rcvTime}]
}
When clicking on something like "double spend", instead of having to call a function that has been based down through props, can just call a Redux Action that will add the 2 messages to the state.
Redux could be a better way to manage state, since we pass so much information in as props and have a bunch of passed in functions that we call (e.g. functions passed in from Network.Js to be called by the buttons in controls.js)
The text was updated successfully, but these errors were encountered: