New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

color-pencil-binder

Package Overview
Dependencies
Maintainers
0
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

color-pencil-binder

| Resource | description | | ---------------- | :------

  • 0.0.32
  • latest
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

Usage guide

Resourcedescription
index.tsExports all the stores from stores folder and QueryClient instance and QueryClientProvider
queryClient.tsWe export the QueryClient instance and Provider to use the same instance in network calls of store methods. This will avoid any mismatch between instance of handling the network calls using TanStackQuery
stores FolderWe create all the stores in this stores folder as a seperate file for a specific module and export them in index.ts of the stores folder.
types FolderExports all the types related to stores. Use seperate .d.ts files for defining types for a store and export them in index.d.ts of the types folder.

Code Standards

  1. Always use capital I (interface) in as first letter while creating an Interface. For example, export interface IMyCustomType {...}
  2. Use async await functions instead of promises to maintain good code standards.
  3. Never push code with type errors, and if in extreme circumstances any type can be used, not all the time.
  4. Never change configurations without prior intimation to Tech leads.

FAQs

Package last updated on 27 Dec 2024

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc