How to use the ngxs-reset-plugin.StateReset function in ngxs-reset-plugin

To help you get started, we’ve selected a few ngxs-reset-plugin examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github phucan1108 / letportal / src / web-portal / src / app / core / services / page.service.ts View on Github external
destroy() {
        this.options = null
        this.queryparams = null
        this.options = new Object()
        this.queryparams = new Object()
        this.eventSub.unsubscribe() StateReset(PageState))


Reset plugin for NGXS: Effortlessly clears, resets, or overwrites NGXS states respecting the state tree.

Latest version published 2 months ago

Package Health Score

84 / 100
Full package analysis