Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 1.02 KB

bug-checklist.md

File metadata and controls

42 lines (28 loc) · 1.02 KB

Bug checklist

This is a list of stuff which could be done to analyse a bug you have found in RxDB.

Different browsers

If you use RxDB in the browser, try different browser and observe if the behavior changes.

Different storages

Check if your problem still occurs when you change the RxStorage of the database. If not done before, start trying with the memory storage.

Disable EventReduce

RxDB uses an algorithm to optimize queries. You should disable that when creating the database and check if the behavior changes.

const db = await createRxDatabase({
    name,
    adapter: 'memory'
    eventReduce: true,
});

Disable KeyCompression

If you use the key-compression, disable it and check if the behavior changes.

Disable multiInstance

By default, RxDB propagates events between different browser tabs of the same website. Disable this feature and check if the behavior of your bug changes.

const db = await createRxDatabase({
    name,
    adapter: 'memory'
    multiInstance: false,
});