O'Reilly logo
  • Ray Megal thinks this is interesting:

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.


Cover of Learning Node.js for .NET Developers


Why is getting rid of the refresh the “fix?” Shouldn’t refreshing the page when we do the delete be the fix?