Skip to content

Commit 83cc49b

Browse files
committed
export use_async_effect at top level
1 parent a4feb9a commit 83cc49b

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/reactpy/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
from reactpy.core.events import event
88
from reactpy.core.hooks import (
99
create_context,
10+
use_async_effect,
1011
use_callback,
1112
use_connection,
1213
use_context,
@@ -41,6 +42,7 @@
4142
"html_to_vdom",
4243
"logging",
4344
"types",
45+
"use_async_effect",
4446
"use_callback",
4547
"use_connection",
4648
"use_context",

src/reactpy/core/hooks.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030

3131

3232
__all__ = [
33+
"use_async_effect",
3334
"use_callback",
3435
"use_effect",
3536
"use_memo",

0 commit comments

Comments
 (0)