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

Ensure rehydration works on Ember < 3.27 #862

Merged
merged 1 commit into from
Oct 20, 2021
Merged

Ensure rehydration works on Ember < 3.27 #862

merged 1 commit into from
Oct 20, 2021

Conversation

rwjblue
Copy link
Member

@rwjblue rwjblue commented Oct 20, 2021

The fallback for the guard introduced in 32d6f07 (which takes effect when running on Ember < 3.27) is somewhat fundamentally borked. Due to the usage of var Ember and the fact that var hoists, the fallback in the ternary can never anything but undefined.

The fallback for the guard introduced in
32d6f07 (which takes effect when
running on Ember < 3.27) is somewhat fundamentally borked. Due to the
usage of `var Ember` and the fact that `var` hoists, the fallback in the
ternary **can never** anything but `undefined`.
@rwjblue rwjblue added the bug label Oct 20, 2021
@rwjblue
Copy link
Member Author

rwjblue commented Oct 20, 2021

This likely fixes the thing that @snewcomer mentioned in #849 (comment) (when I was debugging with @scalvert it present in the same way that Scott mentioned).

@rwjblue rwjblue merged commit f19219d into master Oct 20, 2021
@rwjblue rwjblue deleted the ffs-var-sucks branch October 20, 2021 16:30
@rahulk94
Copy link
Contributor

rahulk94 commented Nov 8, 2021

@rwjblue I just ran into this whilst trying to use Fastboot beta 4 with a Ember 3.24.x app. Can you look at doing a beta release sooner than later?

Edit: looks like beta 5 is out now 🤙🏾

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants