Deleting a game does not cause the page to refresh, but creating a new game does. We can fix this by creating games via an Ajax call, consistent with how we delete games. In order for this to work, the client-side script that handles the call needs to know which HTML to add to the page when a new game is created.
Why is getting rid of the refresh the “fix?” Shouldn’t refreshing the page when we do the delete be the fix?
Share this highlighthttp://www.safaribooksonline.com/a/learning-nodejs-for/3258816/