Skip to content

LWC-Essentials/wire-adapters

wire-adapters

wire-adapters is a collection of LWC utilities using wire adapters.

Note #1: The LWC wire adapter API is subject to change (see: https://github.com/salesforce/lwc-rfcs/blob/master/text/0103-wire-adapters.md). The library currently uses the LWC wire adapter API 1.1.x.

Note #2: This library is under development and can change any time until it reaches version 1.0. Contributions as ideas or code are obviously welcome!

The project is a mono-repo where each feature is defined in its own package. The packages are published on NPM within the @lwce org. A sample application is also provided to show the features in action.

The currently available packages are the following:

  • store
    A mutable client side state container. It allows decoupled components to share data.

  • fetch
    A FetchClient object, along with a useFetch wire adapter. It easily connects components to REST apis.

Here is a video of the demo application:

About

Wire adapters for LWC

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published