[REF-3219] use hooks.useState will raise: ValueError: Can not compile, the tag useState is used multiple time from react and react #3604
Labels
linear
Created by Linear-GitHub Sync
Low priority
Created by Linear-GitHub Sync
Reflex > Open source core OSS
Created by Linear-GitHub Sync
Milestone
Describe the bug
A clear and concise description of what the bug is.
use
hooks.useState
, will raise: ValueError: Can not compile, the tag useState is used multiple time from react and reacthooks._compose_react_imports
function, create ImportVar object withinstall=False
; and in banner.py,ConnectionToaster.add_hooks
create ImportVar object withinstall=True
;these will make
compler.validate_imports
raise ValueError.REF-3219
The text was updated successfully, but these errors were encountered: