react 自定义控件使用
视频 (Video)
关于谈话 (About the Talk)
We have built a custom API with Strapi in the past. Now that we have some data, a dashboard, and a REST API, let’s use JavaScript and React to consume that API.
过去,我们已经使用Strapi构建了自定义API。 现在我们有了一些数据,一个仪表板和一个REST API,让我们使用JavaScript和React来使用该API。
We will build a simple app and talk about grabbing data from our new API.
我们将构建一个简单的应用程序,并讨论从新API中获取数据的问题。
重要要点 (Key Takeaways)
- Building a Custom API with Strapi lets us focus on our frontend code 使用Strapi构建自定义API,使我们可以专注于前端代码
- Using React to grab data from an API 使用React从API抓取数据
本演讲专为 (This Talk is Designed For)
Developers that have their own APIs and want to consume their APIs with React and JavaScript.
具有自己的API并希望通过React和JavaScript使用其API的开发人员。
先决条件 (Prerequisites)
Some knowledge of JavaScript and how APIs work is a plus.
加上一些JavaScript知识以及API如何工作。
重要连结 (Important Links)
关于主持人 (About the Presenter)
Chris Sevilleja (@chrisoncode) is the founder of scotch.io and Senior Developer Advocate at DigitalOcean. He loves trying to figure out the most efficient and practical way to build apps that we can ship to our customers.
Chris Sevilleja ( @chrisoncode )是scotch.io的创始人,也是DigitalOcean的高级开发顾问。 他喜欢尝试找出最有效,最实用的方式来构建我们可以交付给客户的应用程序。
翻译自: https://www.digitalocean.com/community/tech_talks/consuming-a-custom-api-with-react
react 自定义控件使用