1

Having an app with tabs, I need to share data between them.
So in the first tab I do public static data= {};
Then on the second tab I import the first page and get data using FirstTab.data.

Is this considered wrong?
Is there a better way to share data/params between child tabs? (not from parent to child)

Olezt
  • 1,638
  • 1
  • 15
  • 31

0 Answers0