Created by: EnoahNetzach
@Timer @tuchk4
The trick was probably to add the event listener earlier, and to gain control on when to close document
.
Now we don't have event differences between E2E_FILE
and E2E_URL
in this regard, and don't have to wait/poll for when the feature is fully loaded.
@gaearon any insight on why calling
this.setState({ users }, () => this.done())
works, but
this.setState({ users }, this.done)
doesn't (@here)?