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

Bug fix - for every PUT request, update changes without refresh #41

Open
skassam21 opened this issue Jul 22, 2019 · 0 comments
Open

Bug fix - for every PUT request, update changes without refresh #41

skassam21 opened this issue Jul 22, 2019 · 0 comments
Assignees

Comments

@skassam21
Copy link
Collaborator

  • Your PUT requests should return the ‘new user model’
  • In the props, there should be a function that is passed that can modify the state of a higher level component to update the user without refresh
  • https://medium.com/@ruthmpardee/passing-data-between-react-components-103ad82ebd17
  • AppComponent -> fetch the user and do all user manipulation
    • ProfileComponent -> edit information, call functions in AppComponent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants