Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transition onLoad to an action dispatcher #1468

Closed
wants to merge 1 commit into from

Conversation

PtrTeixeira
Copy link
Contributor

One of the changes that was blocked on the tailer was making onLoad
behave like an action dispatcher, rather than a function. So each of the
components treats it as an object (or, at least, the base case is null
rather than _.noop). This means that it was misbehaving when it
wasn't explicitly set because pre-tailer it was expected to be a
function.

More specifically, some pages were permanently stuck with the page loaded, but a visible loading spinner still present

One of the changes that was blocked on the tailer was making `onLoad`
behave like an action dispatcher, rather than a function. So each of the
components treats it as an object (or, at least, the base case is `null`
rather than `_.noop`).  This means that it was misbehaving when it
wasn't explicitly set because pre-tailer it was expected to be a
function.
@ssalinas
Copy link
Member

Funny enough I already snuck that into #1466. Looked like it was already that way on some branches and not others. Will roll it out with that one 👍

@ssalinas ssalinas closed this Mar 21, 2017
@PtrTeixeira PtrTeixeira deleted the onLoad-as-action branch March 23, 2017 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants