Props like Event !
#13692
Replies: 1 comment
-
What? I dont understand your question. Can you provide an example to demonstrate what you want to achieve? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When we send the same prop several times, the component only executes once, to overcome this, I use a toggle.
or directly a function call.
It would be practical if each prop sending, even if it is identical, triggers the execution of the child component.
Unless of course there is a contraindication that I am unaware of.
Or use a symbol to accompany the props, which would leave it to the programmer's choice.
{props} one time execute
{#props} Everytime execute
or other symbole
Beta Was this translation helpful? Give feedback.
All reactions