-
Notifications
You must be signed in to change notification settings - Fork 65
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
Cannot use $if
together with setting $state
from within $lifecycle
#44
Comments
@ildarsamit @djgrant, thanks for bringing this issue to our attention. I'll work on getting a fix to this in ASAP. |
@ildarsamit Fixed with 6b86475. The issue was a result of the MutationObserver being created after the Can you double check that this issue has been resolved? |
@arkadyp how do you update an existing project? I don't see any command within the cli and famous-framework is not on npm. |
@djgrant to run a project you usually run So here's my setup: I git clone the Famous Framework repo (so I can switch to any branch or commit etc). Then run the
This lets me run I'm by no means a Node expert though, so there might be a better way, but this works for me :) I'll try to find some time to double-check the fix, but I've already found a hackish workaround already for my own purpose. |
Thanks @ildarsamit. Now you've mentioned it I realise you can just reference the commit directly in
|
@djgrant oh yeah, sorry you can just do that lol. I have the repo checked out in case I wanna play around with the actual code etc. |
@arkadyp Taking a quick look at this, the original problem seems to be resolved. Thanks! Perhaps a separate issue, it's still not possible to attach event handlers to HTML elements inserted by the |
@djgrant Thanks for taking a look. We're aware of the separate issue of not being able to attach event handlers to HTML elements created via the |
In short, I can't use
$if
together with setting$state
from withinpost-load
.This works:
This also works:
But this doesn't work:
Could be related to #41
The text was updated successfully, but these errors were encountered: