1

I have a similar application as the problem described here: react frontend connecting to flask backend Howto

The solution works for me; however, the solution renders the result using the server response rather than passing the information back to the frontend React. You can see in the solution, the output is using the localhost:5000 port whereas I'd like to keep the response in localhost:3000 (i.e. keep it within the React component). Can someone help me better understand how i can pass data from React (i.e. a text input) -> Flask (some manipulation) -> back to React (result is rendered in the React component).

I haven't been able to find a tutorial that really covers the need I have here. If you could point me to one, that would be helpful as well.

2
  • I encountered the same problem, did you find a solution? Commented Feb 1, 2020 at 12:09
  • Did anyone find a solution to this? Commented Apr 9, 2022 at 2:42

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.