Open ackava opened 5 days ago
Good idea, we should document this better.
For quick context, PGlite is Postgres in "single user mode". There is no support for concurrent connections and you are like to corrupt the database if you open it multiple times at once.
The PGliteWorker helps you to open only a single instance and share it across browser tabs.
Can you please add some documentation about how to maintain consistency in terms of running it from browser?
PGLite
easily access single storage (IndexedDB)?