Skip to content

Set React Client to PRODUCTION by default #35

Closed
@Archmonger

Description

@Archmonger

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions