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
I happen to be using inertia with React and Laravel, and I noticed that onSuccess gets passed component data like props. I can't access component prop changes in onSuccess, for example, Laravel flash data, so is it bad practice to access it via the onSuccess method parameter?
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
-
I happen to be using inertia with React and Laravel, and I noticed that onSuccess gets passed component data like props. I can't access component prop changes in onSuccess, for example, Laravel flash data, so is it bad practice to access it via the onSuccess method parameter?
Beta Was this translation helpful? Give feedback.
All reactions