Replies: 1 comment
-
@wwahammy it would be great to see some sample code better illustrating what you'd like to do. Maybe you can create a very simple rails app to show us? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
So I've been looking at the React on Rails code and I've found that, generally, the code in React on Rails related to sharing data for a Rails context and the information passed to the React components could be reused in other cases. For example, our app has non-React code that needs:
I think this is something generally useful and isn't specific to React. In fact, I'd say React on Rails might be a more specialized use of that. Has anyone given thought to splitting that code out into a separate Gem and NPM package and then have React on Rails use those? Or is anyone aware of another implementation of this type of thing that would work in a more general fashion?
Beta Was this translation helpful? Give feedback.
All reactions