The basic question boils down to "Who should dictate if the alert is rendered?"
In this situation, what you return from your render method is always rendered to the screen. Let's start by making a hypothetical API
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |