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
At Present, after posting comment data to the server, the page reloads to pull appended comments using componentDidMount.
Create a proper state update function, which triggers a re-render on comment post. Another approach would be to manually append the state after sending the get query, eliminating the need to fetch data again
The text was updated successfully, but these errors were encountered:
At Present, after posting comment data to the server, the page reloads to pull appended comments using componentDidMount.
Create a proper state update function, which triggers a re-render on comment post. Another approach would be to manually append the state after sending the get query, eliminating the need to fetch data again
The text was updated successfully, but these errors were encountered: