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

Show newly added comment on a post #42

Open
jjh121 opened this issue Apr 10, 2020 · 0 comments
Open

Show newly added comment on a post #42

jjh121 opened this issue Apr 10, 2020 · 0 comments
Assignees

Comments

@jjh121
Copy link
Owner

jjh121 commented Apr 10, 2020

Currently, when adding a comment to a post, it will add it to the database via API, but not show on the page immediately.

Consider returning the entire comment from the API and then adding that to the comment array on the PostModel in react. This will then render the comment on the page.

@jjh121 jjh121 mentioned this issue Apr 10, 2020
@jjh121 jjh121 self-assigned this Apr 10, 2020
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

1 participant