We are trying to build a shared React component library in Bit and I'm wondering how others have handled util modules that are called from a component but are not visually rendered. Bit refuses to build, saying that the util module is not a jsx (it shouldn't be a jsx, it's shared utilities for the different components).
In before "that should be a hook" and "creating a non-rendering react component" - it's text / date / etc utility functions.
Thanks for any help!
I tried to include the js file in the component directory, and it refused it because it's a non-rendering, non-.jsx file.