Hi @venky232,
Do you want to load data when the app on start?
Actually, you should save the collection data to local device/web browser and load it when you open the app again.
These functions can now be used when playing an app in a web browser as an experimental feature. This feature is disabled by default. To enable, navigate to Settings > Upcoming features > Experimental > Enabled SaveData, LoadData, ClearData on web player." and turn the switch on.
Here is a tip for you, you need to create a column to save the user who likes this record.
In my scenario, I have a subscriber column to save who subscribes this record once someone clicks the star icon.
You just need to add the following formula for the OnSelect property of the star icon:
Patch(List,ThisItem,{subscriber:User().Email});
Collect(colSubscribe,ThisItem);
SaveData(colSubscribe,"LocalSavedItems")
Then set the OnStart property of the App as below:
LoadData( colSubscribe, "LocalSavedItems" )
Set the Items property of the Gallery as:
Filter(colSubscribe,subscriber=User().Email)
Then you could add another Gallery by setting following formula to display all the records:
List