Up to this point we’ve already developed our React application and thereby covered concepts and techniques of a modern React application.
We’ve also learned how to manage data within out React application by using state and techniques for asynchronous data handling. However, up until now the data which is used in out application is coming from inside of our component. In most real-world scenarios the data which is used and processed in the React front-end application is not defined and created in the React application itself. Instead a connection to a back-end is used for data access.
There are many possibilities of back-end technologies which can be used together with your React front-end application. In most cases you’ll end up using a back-end technology which is accessible via web services (e.g. REST web services) or GraphQL.
So before we’re able to extend our React application to retrieve data from a back-end we need to implement a back-end server and make web services available.
Of course you can implement such a back-end from scratch. However there is a much easier approach: using a headless CMS like Strapi.
This is a CodingTheSmartWay.com tutorial.
---------------------
Musik:
Night Owl by Broke For Free is licensed under a Creative Commons Attribution License.
(http://freemusicarchive.org/music/Bro...)
#react #reactjs #javascript #frontend #webdevelopment
Watch video Modern React From The Beginning - Excursus: Strapi As Back-End online without registration, duration hours minute second in high quality. This video was added by user CodingTheSmartWay 16 May 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 4,996 once and liked it 66 people.