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
Смотрите видео Modern React From The Beginning - Excursus: Strapi As Back-End онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь CodingTheSmartWay 16 Май 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 4,996 раз и оно понравилось 66 людям.