Socket
Book a DemoInstallSign in
Socket

@barelyshaped/query-signal

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@barelyshaped/query-signal

0.0.1-alpha.1
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

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

(back to top)

Built With

(back to top)

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
    

(back to top)

Usage

For the example, please refer to this blog post

(back to top)

Roadmap

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

(back to top)

License

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

(back to top)

Acknowledgments

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

(back to top)

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.

FAQs

Package last updated on 07 Oct 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.