Skip to content

Commit 9d207db

Browse files
Adding a warning note on the single-instance plugin instructing to keep the plugin init() call as the first one.
1 parent db5e867 commit 9d207db

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/content/docs/plugin/single-instance.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,13 @@ Install the Single Instance plugin to get started.
7070

7171
</Tabs>
7272

73+
74+
:::warning
75+
76+
The Single Instance plugin must be the first one to be init()'ed to work well. Doing so prevents other plugins to initiate and eventually interfering with the app's instance that is already running.
77+
78+
:::
79+
7380
## Usage
7481

7582
The plugin is already installed and initialized, and it should be functioning correctly right away. Nevertheless, we can also enhance its functionality with the `init()` method.

0 commit comments

Comments
 (0)