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
Hey! So I have a NextJS frontend application, and a separate backend (where liquid engine is initiated).
In my NextJS page call it index.tsx, it calls a backend end point that sends back the template. The frontend will then handle the render in an iframe/ div once the data comes back.
When a user submits the form, a post request is sent to another endpoint in the backend (configured by registering form tags). When the backend endpoint is done, the response is sent back to the origin, which is the frontend page index.tsx, however that frontend is already handling the request to render the form page.
Do you guys have any idea how/ where to handle the response coming from a rendered form?
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
-
Hey! So I have a NextJS frontend application, and a separate backend (where liquid engine is initiated).
In my NextJS page call it index.tsx, it calls a backend end point that sends back the template. The frontend will then handle the render in an iframe/ div once the data comes back.
When a user submits the form, a post request is sent to another endpoint in the backend (configured by registering form tags). When the backend endpoint is done, the response is sent back to the origin, which is the frontend page index.tsx, however that frontend is already handling the request to render the form page.
Do you guys have any idea how/ where to handle the response coming from a rendered form?
Beta Was this translation helpful? Give feedback.
All reactions