You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In page1 i don't mutate here just a api call to add to database if success then i trigger eg(trigger(key) of page2) will it reflect the changes in the page 2
in page2 it will only display names it will be only trigger when a new name is add at page1
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi all ,
i just wanted to know can a trigger works when called from one page and it should reflect in the other page,
here is the example
page1 (http://localhost:3000/addname)
page2 (http://localhost:3000/displayName)
In page1 i don't mutate here just a api call to add to database if success then i trigger eg(trigger(key) of page2) will it reflect the changes in the page 2
in page2 it will only display names it will be only trigger when a new name is add at page1
will it do a api call onse i call the trigger
Beta Was this translation helpful? Give feedback.
All reactions