Closed ralfstory closed 2 years ago
I can't find anywhere in the docs where it says this specifically, but I have been using window._fs_initialized
to do what you described
That definitely works!! Though I think it should be exposed through the SDK explicitly - the fact that you've also had a use case for this means it should probably be baked in!
Fixed by #130.
This will help prevent reinitialization and reduce the subsequent noisy logs by being able to check the initialization status and calling FS.init conditionally.