Skip to content

react.js not available when config.react.variant is not set #11

@jtmalinowski

Description

@jtmalinowski

@zpao I thought we were going to go with environment based variant, if config.react.variant is not explicitly set. However

if variant = app.config.react.variant || ::Rails.env.test?

makes it very clear that it needs to be configured. I think if it is as intended, then we should emphasize it a bit more in the readme. Because that bit even me a few times...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions