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

@o3r/store-sync

Package Overview
Dependencies
Maintainers
5
Versions
1570
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@o3r/store-sync

This module is exposing an NgRx store synchronization solution (synchronous and asynchronous) via the class StorageSync.

  • 11.6.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
5
Created
Source

Otter Store Sync

Super cute Otter!

This package is an Otter Framework Module.

Description

Stable Version Bundle Size

This module exposes an NgRx store synchronization solution (synchronous and asynchronous) via the class StorageSync.

To facilitate the synchronization, the StorageSync class is based on a fork of ngrx-store-localstorage, an exposed package used to sync an NgRx store and the local or session storage. Compared to the original version of the fork, the @o3r/store-sync module includes changes that improve overall synchronization performance.

The features to highlight are:

  • The addition of smartSync: by default, @o3r/store-sync synchronizes a state only if its value changed and no longer matches that of the storage. This feature improves performance, but it can be disabled if wanted.
  • The possibility of asynchronous synchronization: in our asynchronous storage interface, we have overridden the return type of the getItem function to handle promises (the return type is Promise<string | null>).

You can read about the changes in the module's documentation.

How to install

ng add @o3r/store-sync

[!WARNING] This module requires @o3r/core to be installed.

More details

Find more information in the documentation.

Keywords

FAQs

Package last updated on 30 Jan 2025

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