网页
综合
更新时间 2026-11-04 14:45:21
Development Mode | RxDB
自动蜘蛛
rxdb.info
正文约 1049 字
The dev-mode plugin adds many checks and validations to RxDB. This ensures that you use the RxDB API properly and so the dev-mode plugin should always be used when using RxDB in development mode.
To also look at the stored data itself during development, mount the database viewer which renders a full devtool over the running database.
The dev-mode plugin will increase your build size and decrease the performance. It must always be used in development. You should never use it in production.
In the webpack.config.js:
In your source code:
When the dev-mode is enabled, it will print a console.warn() message to the console so that you do not accidentally use the dev-mode in production. To disable this warning you can call the disableWarnings() function.
When used in localhost and in the browser, the dev-mode plugin can add a tracking iframe to the DOM. This is used to track the effectiveness of marketing efforts of RxDB. If you have premium access and want to disable this iframe, you can call setPremiumFlag() before creating the database.
本页为82搜索生成的网页快照,内容来自站内索引;演示数据的原文链接仅作示例。