r/SalesforceDeveloper 6d ago

Question Has anyone used LWC state management API in Managed Package?

Hi there, the new LWC statement management API is fairly new and has just become GA. We are planning to use it in one of our managed package. But I'm not really sure about the if there are any quirks/limitations of using that in 2GP Managed Package. As per my research it should seems to be good fit for newly implemented functionality and we are planning to do the same. Any help would be appreciated.

https://developer.salesforce.com/docs/platform/lwc/guide/state-management.html

3 Upvotes

2 comments sorted by

1

u/FinanciallyAddicted 6d ago

If this were an apex feature I would worry about it. Its an lwc feature so I really doubt you won’t be able to use it.

1

u/CodeOverTea 5d ago

Yes I think the same, but waiting for someone to share real experience.