
* disable react strict mode for event loop * oops * pyi oui * separate socket connection from event loop * prettier state.js * disable react strict mode * didn't work sadge * socket connect/disconnect depends on new isBackendDisabled state * only start the event loop when the socket is set or we're not stateful * Always drain the queue unless backend is disabled --------- Co-authored-by: Masen Furer <m_github@0x26.net>
11 lines
251 B
Python
11 lines
251 B
Python
"""Module for the StrictMode component."""
|
|
|
|
from reflex.components.component import Component
|
|
|
|
|
|
class StrictMode(Component):
|
|
"""A React strict mode component to enable strict mode for its children."""
|
|
|
|
library = "react"
|
|
tag = "StrictMode"
|