Skip to content

Commit ad6b7d2

Browse files
authored
Add note about /scope
1 parent 5bb7c04 commit ad6b7d2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/react/scope.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Example:
88
// No scope
99
import { Route, createRoutesView } from 'atomic-router-react';
1010

11-
// Scoped imports (correct for SSR)
11+
// Scoped imports (correct for effector < 23 and atomic-router-react < 0.9)
12+
// On newer versions you can safely use `atomic-router-react` without `/scope` in the SSR or SPA
1213
import { Route, createRoutesView } from 'atomic-router-react/scope';
1314
```

0 commit comments

Comments
 (0)