So I can't figure why it needed to refresh but if you map allPartnerPros
to globalThis.pros
it seems to work. I couldn't figure why that the public member won't be set. But this is the workaround:
// allPartnerPros: PartnerPro[] = [];
get allPartnerPros(): PartnerPro[] {
return globalThis.pros || []
}
set allPartnerPros(value: PartnerPro[]) {
globalThis.pros = value;
}