Does the error still happen if you rebuild your project (ctrl-shift-r / cmd-shift-r)?
After playing around with it a bit it seems to just happen sometimes, and might be because of some internal inconsistency in preview (meaning it shouldn’t happen when you build for the app store for example).
Hi Kristian! You are correct, looks like you have to do a full rebuild in order to get the wanted functionality. Live reload doesn’t work in this case. Might be something you guys take a look into! Thanks for the help!
Thanks for confirming, Matt. In that case this is a known regression that we are aware of; it is being fixed and will be rolled out in a future release.
As Kristian noted, this should not affect the release builds of apps, just the preview.