Old Behavior
Currently, the react client is set to development by default.
New Behavior
Build the react client in production mode by default, or intelligently select a client based on IDOM_DEBUG_MODE
Implementation Details
Change the const { PRODUCTION } = process.env; to default to True
Consider a method where this can be done at run-time.
See related issue reactive-python/reactpy#346
Code of Conduct
Old Behavior
Currently, the react client is set to development by default.
New Behavior
Build the react client in production mode by default, or intelligently select a client based on
IDOM_DEBUG_MODEImplementation Details
Change the
const { PRODUCTION } = process.env;to default to TrueConsider a method where this can be done at run-time.
See related issue reactive-python/reactpy#346
Code of Conduct