request: React custom Provider for discord options
wolffparkinson opened this issue · comments
WolffParkinson commented
Is your feature request related to a problem? Please describe.
Managing profiles would be easier and more intuitive with React Providers
Describe the solution you'd like
<DiscordOptionsContext.Provider value={discordOptions}>
<DiscordMessages>
<DiscordMessage>...</DiscordMessage>
</DiscordMessages>
<DiscordMessages>
<DiscordMessage>...</DiscordMessage>
</DiscordMessages>
</DiscordOptionsContext.Provider>
Reference : react-discord-message by Danktuary
Describe alternatives you've considered
Custom components, but that feels hacky.
Additional context
Jeroen Claassens commented
This is not possible because the React code is fully autogenerated by Stencil (unlike the referenced package) so we cannot add custom code, especially not without jumping through major hoops of fire that would make the build process extremely complex.
Jeroen Claassens commented
Closing this as per the answer above