laravel/react - Inertia.get reloading page #813
Unanswered
ylandsman
asked this question in
Help (React)
Replies: 2 comments 2 replies
-
@ylandsman Take a look at the |
Beta Was this translation helpful? Give feedback.
2 replies
-
Strangely enough, for creating a record I have no problem. When I do the post, I close the modal, and the new record shows up on the next render cycle. Where I am struggling is on the retrieval of the record before editing. Maybe a direct xhr request is the answer, although that sounds like it would make my app kind of hybrid. Thanks for your help.
Yehuda Landsman
…On Jul 16, 2021, 3:55 PM +0300, inertiajs/inertia ***@***.***>, wrote:
here
|
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
-
Please bear with me as I am new to both react and InertiaJs
I have a button that is calling an onclick function. The onclick calls the following function
When I click the button, the page refreshes, and I get a new page that has just this component. What I want is for the instance of this component that is already loaded on my page to be the recipient of this request. What am I missing?
I should note, that the component I want to load the data into is a material-ui modal dialog, that I want to have overlaying the page it is opened frm
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions