-
Notifications
You must be signed in to change notification settings - Fork 751
Closed
Labels
Description
Hello, we are using a React component kit at my work that requires each top-level React tree to be wrapped in a ThemeProvider component in order to apply proper theming to each component. Our app, in particular, isn't a SPA which the Provider pattern seems to be more catered to so I was curious if there are any blessed patterns in Rails on how to go about this? Should we roll our own react_component helper that wraps the component or is there some type of hook we could possibly use? Any guidance you can provide is greatly appreciated 🙏.
bswinnerton