react-fetching-library alternatives and similar libraries
Based on the "Utilities" category.
Alternatively, view react-fetching-library alternatives based on common mentions on social networks and blogs.
-
react-intl
The monorepo home to all of the FormatJS related libraries, most notably react-intl. -
react-i18next
Internationalization for react done right. Using the i18next i18n ecosystem. -
react-on-rails
Integration of React + Webpack + Rails + rails/webpacker including server-side rendering of React, enabling a better developer experience and faster client performance. -
js-lingui
π π A readable, automated, and optimized (3 kb) internationalization for JavaScript -
reactfire
Hooks, Context Providers, and Components that make it easy to interact with Firebase. -
qrcode.react
A <QRCode/> component for use with React. -
react-firebase-hooks
React Hooks for Firebase. -
react-three-renderer
Render into a three.js canvas using React. -
react-unity-webgl
React Unity WebGL provides a modern solution for embedding Unity WebGL builds in your React Application while providing advanced APIs for two way communication and interaction between Unity and React. -
react-faux-dom
DOM like structure that renders to React. -
react-d3-library
Open source library for using D3 in React -
react-intl-universal
Internationalize React apps. Not only for Component but also for Vanilla JS. -
react-stripe-checkout
Load stripe's checkout.js as a react component. Easiest way to use checkout with React. -
backbone-react-component
A bit of nifty glue that automatically plugs your Backbone models and collections into your React components, on the browser and server -
react-elm-components
Write React components in Elm -
reactive-elements
Allows to use React.js component as HTML element (web component) -
redux-segment
Segment.io analytics integration for redux. -
react-google-autocomplete
React components for google places API. -
react-lottie-player
Fully declarative React Lottie player -
<qr-code>
A no-framework, no-dependencies, customizable, animate-able, SVG-based <qr-code> HTML element. -
react-translate-component
A component for React that utilizes the Counterpart module to provide multi-lingual/localized text content. -
gl-react
OpenGL / WebGL bindings for React to implement complex effects over images and content, in the descriptive VDOM paradigm. -
react-localstorage
Simple componentized localstorage implementation for Facebook's React. -
react-children-utilities
Extended utils for βοΈ React.Children data structure that adds recursive filter, map and more methods to iterate nested children. -
react-google-analytics
Google analytics component -
gl-react-dom
WebGL bindings for React to implement complex effects over images and content, in the descriptive VDOM paradigm -
react-globalize
Bringing the i18n functionality of Globalize, backed by CLDR, to React -
react-backbone
backbone-aware mixins for react and a whole lot more -
react-threejs
WIP: Simplest bindings between React & Three.js -
elm-react-component
A React component which wraps an Elm module to be used in a React application. -
react-middle-ellipsis
Truncate a long string in the middle, instead of the end. -
react-screen-wake-lock
π React implementation of the Screen Wake Lock API. It provides a way to prevent devices from dimming or locking the screen when an application needs to keep running -
react-translate-maker
Universal internationalization (i18n) open source library for React -
Redux Slim Async
:alien: A Redux middleware to ease the pain of tracking the status of an async action -
react-slack-notification
React Slack Notification is a lightweight package, Send messages to a Slack channel directly from your react app. -
react-localized
Internationalization for React and Preact components based on gettext format
Appwrite - The Open Source Firebase alternative introduces iOS support
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of react-fetching-library or a related project?
README
Simple and powerful fetching library for React. Use hooks to fetch data!
β Zero dependencies (react, react-dom as peer deps)
β SSR support
β Use hooks or FACC's (Function as Child Components) - depending on your needs
β Uses Fetch API (but allows to use custom fetch implemenation and axios as well)
β Request and response interceptors allows to easily customize connection with API
β React Suspense support (experimental *)
β TypeScript support
β Error boundaries to catch bad API responses
β Less than 3k minizipped
β Simple cache provider - easily to extend
β Handle race conditions
β Allows to abort pending requests
react-fetching-library
Use hooks or FACC's (Function as Child Component) to fetch data in an easy way. No dependencies! Just React under the hood.
Request and response interceptors allows you to easily customize connection with API (add authorization, refresh token, cache, etc). It uses Fetch API so it can be used in SSR apps (i.e. with isomorphic-fetch).
Library allows you to use it with connection of React Suspense (read more about React Suspense) to easily maintain loading state in application.
Documentation
Full documentation is available HERE
Short example of use
import { useQuery } from 'react-fetching-library';
const fetchUsersList = {
method: 'GET',
endpoint: '/users',
};
export const UsersListContainer = () => {
const { loading, payload, error, query } = useQuery(fetchUsersList);
return <UsersList loading={loading} error={error} users={payload} onReload={query} />;
};
Typescript support
Inspirations
Contributing
Feel free to open PRs and issues to make this library better !
When making a PR, make sure all tests pass. If you add a new feature, please consider updating the documentation or codesandbox examples. Thank you!
Using Suspense to fetch data
For now React Suspense is not production ready to use it for fetch data as described here, so API of our component/hook may change in the future.
License
react-fetching-library is licensed under the MIT license.
*Note that all licence references and agreements mentioned in the react-fetching-library README section above
are relevant to that project's source code only.