Skip to content

On Page Refresh database changes not affecting the view. #3

@dhvanipurohit

Description

@dhvanipurohit

Hey,

Thanks for this example but when i am refreshing the page after completed some add or delete event it is not showing in the screen. I mean every time i needed to close and open the Socket connection to check my changes after refreshing the page.

Can you please provide me the solution for that?

Waiting for your response.

P.S. : I think in result.js file for socket.on message event it is calling "init" method every time. but when update occurs it should call "diff" method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions