Our library exports some helper functions in addition to React components. Playroom does not look at what is exported and adds everything to suggestions:
Two possible solutions I see here:
Filter out exports that are not capitalized - AFAIK there is a requirement that all React components start with a capital letter.
Let the user provide a filter function in the config.
Would this be a good improvement and which solution should it use?
Our library exports some helper functions in addition to React components. Playroom does not look at what is exported and adds everything to suggestions:
Two possible solutions I see here:
Would this be a good improvement and which solution should it use?