0.0.1-alpha.1 • Published 8 months ago

@barelyshaped/query-signal v0.0.1-alpha.1

Weekly downloads
-
License
-
Repository
github
Last release
8 months ago

QuerySignal

This is a library to help you manage data queries, however you want to make them, using Angular Signals.

The development is on very early stages and it is still very experimental

Built With

  • Angular

Getting Started

Prerequisites

You'll need at least Angular v16, because that's the first version shipping with Signals.

Installation

  • npm
    npm install @baralyshaped/query-signal

Usage

For the example, please refer to this blog post

Roadmap

  • Data cache in memory and query status
  • Alternative data cache strategy
  • Mutations
  • Refetch automatically
    • On timers
    • On refocus
  • Don't let this die

License

Distributed under the MIT License. See LICENSE.txt for more information.

Acknowledgments

  • React Query - This is the main inspiration, I want to make something this simple for Angular.

Build

Run ng build query-signal to build the project. The build artifacts will be stored in the dist/ directory.

Running unit tests

Run ng test query-signal to execute the unit tests via Karma.

0.0.1-alpha.1

8 months ago

0.0.1-alpha.0

8 months ago