Skip to content

[Discuss] Best way to separate functions to reuse-able  #905

@NSLog0

Description

@NSLog0

Hi, I've been using react-rails for almost year. I have a lot of modules and files that doing its job but some files and modules used same custom function (repeat code). I would like to know how you guys action with this situation like me.

In my mind just put into the .js file and include its into the application.js file. it's ok to do so?

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