|
5 | 5 | from typing import Any, Callable, Iterator, Sequence, TypeVar |
6 | 6 | from urllib.parse import parse_qs |
7 | 7 |
|
8 | | -from idom import ( |
| 8 | +from reactpy import ( |
9 | 9 | component, |
10 | 10 | create_context, |
11 | 11 | use_context, |
12 | 12 | use_location, |
13 | 13 | use_memo, |
14 | 14 | use_state, |
15 | 15 | ) |
16 | | -from idom.backend.hooks import ConnectionContext, use_connection |
17 | | -from idom.backend.types import Connection, Location |
18 | | -from idom.core.types import VdomChild, VdomDict |
19 | | -from idom.types import ComponentType, Context, Location |
20 | | -from idom.web.module import export, module_from_file |
| 16 | +from reactpy.backend.hooks import ConnectionContext, use_connection |
| 17 | +from reactpy.backend.types import Connection, Location |
| 18 | +from reactpy.core.types import VdomChild, VdomDict |
| 19 | +from reactpy.types import ComponentType, Context, Location |
| 20 | +from reactpy.web.module import export, module_from_file |
21 | 21 |
|
22 | | -from idom_router.types import Route, RouteCompiler, Router, RouteResolver |
| 22 | +from reactpy_router.types import Route, RouteCompiler, Router, RouteResolver |
23 | 23 |
|
24 | 24 | R = TypeVar("R", bound=Route) |
25 | 25 |
|
@@ -114,7 +114,7 @@ def _match_route( |
114 | 114 |
|
115 | 115 |
|
116 | 116 | _link = export( |
117 | | - module_from_file("idom-router", file=Path(__file__).parent / "bundle.js"), |
| 117 | + module_from_file("reactpy-router", file=Path(__file__).parent / "bundle.js"), |
118 | 118 | "Link", |
119 | 119 | ) |
120 | 120 |
|
|
0 commit comments