嗨,在本視頻中,我們將使用第三方API獲取用戶的位置信息,我們將安裝並使用axios庫進行獲取請求並在表組件中顯示用戶的位置信息。
請點贊並訂閱我的頻道以獲取更多視頻。
Socket.io測試工具:http://socketserve.io
源代碼:https://github.com/iaz33m/Socket.io-v2-Chat-App
Socket.io文件:https://socket.io/get-started/chat
安裝Node:https://nodejs.org/en/download
創建React應用程序:https://github.com/facebook/create-react-app
反應文檔:https://reactjs.org/docs/getting-started.html
其他有用的鏈接
網站:https://radixcode.com
面子書頁面:https://www.facebook.com/radixcode
Facebook組:https://www.facebook.com/groups/radixcode
Google Plus頁面:https://plus.google.com/u/0/b/112222427997158950852/
Twitter:https://twitter.com/radixcode。
great video, its good to use fetching data from the server in componentDidMount
Thank you.