Tag

Fetch API

1 views collected around this technical thread.

Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Feb 6, 2018 · Frontend Development

Why Switch to Fetch API? A Frontend Guide to Modern AJAX

This article compares the traditional XMLHttpRequest‑based AJAX approach with the modern Fetch API, highlighting its Promise‑based design, cleaner syntax, better compatibility strategies, common pitfalls, and practical usage tips for frontend developers.

Fetch APIJavaScriptPromise
0 likes · 4 min read
Why Switch to Fetch API? A Frontend Guide to Modern AJAX
Efficient Ops
Efficient Ops
Feb 28, 2017 · Frontend Development

Boost Browser Data Handling: RxJS-Wrapped Fetch API for Smart Caching & Updates

This article examines the limitations of plain Fetch API for caching and real‑time updates in complex web apps, then demonstrates how wrapping Fetch with RxJS creates lazy‑loaded caches, reactive update notifications, and extensible data streams, while outlining practical implementation details and best practices.

CachingFetch APIObservable
0 likes · 5 min read
Boost Browser Data Handling: RxJS-Wrapped Fetch API for Smart Caching & Updates
Hujiang Technology
Hujiang Technology
Dec 2, 2016 · Frontend Development

Best Practices for Using AJAX in React Applications

This article reviews four common approaches—Root Component, Container Component, Redux Async Actions, and Relay—for handling AJAX requests in React, explains when each method is appropriate, and warns against two anti‑patterns, helping developers choose the most suitable strategy for their project's size and architecture.

Fetch APIReactRedux
0 likes · 8 min read
Best Practices for Using AJAX in React Applications