Function
hotswap
(
update_on_change: bool = False,
)
Source from the content-addressed store, hash-verified
| 90 | |
| 91 | |
| 92 | def hotswap( |
| 93 | update_on_change: bool = False, |
| 94 | ) -> tuple[_MountFunc, ComponentConstructor]: # nocov |
| 95 | warn( |
| 96 | "The 'hotswap' function is deprecated and will be removed in a future release", |
| 97 | DeprecationWarning, |
| 98 | stacklevel=2, |
| 99 | ) |
| 100 | from reactpy.testing.backend import _hotswap |
| 101 | |
| 102 | return _hotswap(update_on_change) |
Callers
nothing calls this directly
Tested by
no test coverage detected