Skip to content

current react-rails gem: can't simply create appointments.jsx, have to generate components  #2

@starpause

Description

@starpause

Via https://github.com/reactjs/react-rails

$ rails g react:component Appointments

is how to create the barebones component, rather than adding the jsx file yourself.

Syntax seems to have changed for the react_component helper function as well:

<%= react_component("Appointments") %>

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions