Skip to content

Prevent page reload after comment and reply submit - Frontend #7

@madhavgupta211

Description

@madhavgupta211

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions