How to Call a Flask API in React

preview_player
Показать описание
Learn how to build a React frontend that gets data from a Flask API.

----

----

----

----
Follow Me Online Here:

#benawad

----
#benawad
Рекомендации по теме
Комментарии
Автор

This may be coming 3 years later, but this has truly helped!

anyname-ir
Автор

Succinct, to the point. No excess talking or commentary. Thanks.

jsto
Автор

Neither of them mention the final project structure, like how does the flask backend connect to the frontend?

diasporicsol
Автор

Thank you, do more collaboration with Anthony 👍

Denys.Stoianov
Автор

That proxy line fixed my CORS issue. Thank you so much

arunajay
Автор

I'm getting a compiler error when adding the "import line to my index.js file and can't figure out why. The error is super long but it starts with saying: "Module build failed: UnhandledSchemeError:"

dalinar
Автор

So in production do you just set the proxy server to whatever the real flask app URL is?

ryanschattner
Автор

how can i separate all apis in one file and call them in different components?

marianaleite
Автор

when running (at around 9:28), I get a "Each child in a list should have a unique "key" prop." error. Anyone know why?

wannaberickistevens
Автор

Before i passed one day to do the same thing, you do in 20 minutes. What!!!? Thanks for the vídeo. Sorry for my english i'm Brazilian.

lekxander
Автор

@Ben Awad - What is the purpose of using a call back `currentMovies -> [movie, ...currentMovies]` as the argument of setMovies on onNewMovie instead of just `[movie, ...currentMovies]` as you did inside useEffect?

limlth
Автор

What about graphql with Flask? Apollo support?

sh_zik
Автор

After adding a new movie to front, after reloading it's going to back to the end of the list due the *useEffect Database Fetch *, BTW
nice job ben <3

shiva_krishna_rama
Автор

do collaboration again create with React Native Web I guess is pretty cool

irhamputra
Автор

Hey great video!
Just one question: how do you insert the linebreak at once at 12:01? :D
Thanks in advance!

gabucinoo
Автор

Hey whenever i try to submit a new movie i get a blank row. can you help? @BenAwad

carlosortiz-pvxv
Автор

Thanks, the explanation was quick and impeccable.

EfrainValles
Автор

Do you have beginner's tutorials for learning react? Thank you!

visweswarann
Автор

I still wating for the flask api
but you don't show how to integrate flask api in react

supriyakalvitkar
Автор

Random question: do you use nvm to manage node or homebrew or just manually update..?

aser