Shows how AJAX is done differently between React and Svelte (Svelte is much simpler) - using a free GeoCoding API to search for a partial address
TOC/Index
- 00:00 Intro
- 00:35 React project setup
- 01:15 Svelte project setup
- 02:10 Geocoding API demo
- 03:17 Initial coding in React
- 06:08 Initial coding in Svelte
- 07:30 Initial comparison between Svelte and React code
- 08:40 React solution: function in to make GeoCoding API calls over AJAX (uses async/await)
- 11:15 Examine the response from geocoding AJAX request
- 12:05 HTML table to show the results of AJAX request
- 14:20 Successful in React: geocoding results shown in the HTML table
- 15:40 Svelte solution: write equivalent code for Svelte
- 18:15 Successful in Svelte: geocoding results shown in the HTML table
- 18:42 Conclusion and summary of differences between how we do AJAX in React v/s Svelte
#reactjs #react #react-js #svelte #javascript