Wondering what’s next for npm?Check out our public roadmap! »

    @rtk-incubator/rtk-query
    TypeScript icon, indicating that this package has built-in type declarations

    0.3.0 • Public • Published

    Discord server

    Introduction

    RTK Query is an advanced data fetching and caching tool, designed to simplify common cases for loading data in a web application. It is built on top of Redux Toolkit and uses Redux internally for its architecture.

    It features:

    • Declarative API definitions
    • Runs on every framework
    • Supports any protocol
    • Caching
    • Automatic re-fetching
    • Polling
    • Parallel queries
    • Dependent queries
    • Paginated queries
    • Skip queries
    • Lagged queries
    • Automatic garbage collection
    • Prefetching
    • Optimistic Updates
    • Auto-generated React Hooks
    • Built with TypeScript

    ... and plenty of other goodies.

    Getting started

    yarn add @rtk-incubator/rtk-query @reduxjs/toolkit

    Or with npm:

    npm install @rtk-incubator/rtk-query @reduxjs/toolkit

    Then follow along with the Getting Started instructions.

    Documentation

    View the RTK Query docs

    Examples

    View the examples

    Keywords

    none

    Install

    npm i @rtk-incubator/rtk-query

    DownloadsWeekly Downloads

    969

    Version

    0.3.0

    License

    MIT

    Unpacked Size

    1.01 MB

    Total Files

    289

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar