NOTE: Internal use only. It is not recommended to manage the state of individual views.
Returns the state of a single view. This slice of snapshot state is equivalent to what is stored as componentState
for views when capturing platform state using Platform.getSnapshot.
Example
const platform = await fin.Platform.getCurrent();
const url = 'https://google.com';
const view = await fin.View.create({ name: 'my-view', target: fin.me.identity, url });
await view.navigate(url);
const viewState = await platform.getViewSnapshot(view.identity);
console.log(viewState);