it’s a very similar process to deciding “what goes into action object” in redux. you have to decide what constitutes an event. here it’s similar like with onVisit() example — maybe url becomes a part of it (= reactive to url) but shopping cart item is not. so it’s onVisit(url) then. it’s intentional

0

If you have a fediverse account, you can quote this note from your own instance. Search https://bsky.brid.gy/convert/ap/at://did:plc:fpruhuo22xkm5o7ttr2ktxdo/app.bsky.feed.post/3mdonazcw6c2n on your instance and quote it. (Note that quoting is not supported in Mastodon.)