Nativescript: NS 5.4 HMR: state not persisted

Created on 19 May 2019  路  2Comments  路  Source: NativeScript/NativeScript

Hello,
I've just migrated my project to NS 5.4, everything so far with HMR except that on reload also the state persisted in some services gets lost, is there something specific I have to do to save the state, or should it works or perhaps the services shouldn't reload at all?

Thanks

question

Most helpful comment

@demetrio812 you should use a state manager and persist the state manually. We are planning to release a blog post with details pretty soon.

All 2 comments

@demetrio812 you should use a state manager and persist the state manually. We are planning to release a blog post with details pretty soon.

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings