This video demonstrates an issue where updating a component's state via an 'on tap' action fails to reflect changes, even when rebuilding the containing page. The user investigates why this functionality isn't working as expected.
Transcript
00:03
Here.
00:05
I have a component here with debug component.
00:09
Pretty simple.
00:10
I want to show this on true false debug component.
00:15
And I have this little thing that just displays debug component.
00:19
And when I set this, this of course changes it.
00:25
and this is a toggled action set to true on toggled off set to false.
00:33
And we both are rebuilding the containing page and that's why that works.
00:39
However, I have an action on tap on this title which is to toggle the value, rebuild the containing page of the same debug component component state.
00:57
And, that does not work.
01:01
And that's what I don't understand.
01:03
so we're gonna do a little test here.
01:05
While you're here.
01:06
We're just gonna set the value to true.
01:10
and then we're going to reload, do the little flashy thing, Which is nice.
01:22
This is a nice little new thing.
01:25
So we actually see that something worked.
01:28
and yeah, okay, this isn't working at all.
01:33
So this is still gonna work.
01:36
So I'm not sure if edit on tap update component state works.