0.0.20 • Published 23 days ago

wfmp-state-binder v0.0.20

Weekly downloads
-
License
ISC
Repository
-
Last release
23 days ago

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.
0.0.20

23 days ago

0.0.19

23 days ago

0.0.18

24 days ago

0.0.17

1 month ago

0.0.15

1 month ago

0.0.16

1 month ago

0.0.14

1 month ago

0.0.12

1 month ago

0.0.13

1 month ago

0.0.10

1 month ago

0.0.11

1 month ago

0.0.9

2 months ago

0.0.8

2 months ago

0.0.7

2 months ago

0.0.6

3 months ago

0.0.5

3 months ago

0.0.3

3 months ago

0.0.4

3 months ago

0.0.2

3 months ago

0.0.1

4 months ago