Widget as React component
H
Heliotrope Meerkat
Since our site is using React (and so is the Canny widget), it'd be great to be able to import a Canny component directly from an npm package. This would simplify the integration and allow us to manage the imported JS/CSS the same as the rest of our site.
(Happy to email a gist of our current integration if you're interested - a few workarounds to show progress while the widget loads)
O
Opera mauve Viper
If anyone's looking for an example of implementing the Changelog widget in React Hooks using
useEffect
, I did that here: https://git.io/JvsSeI believe this is more readable than what's provided in the current docs and passes ESLint.
E
Experienced Trout
Hello Alex, it would be great if you could share your workaround while we're waiting for Cannys implementation. Thanks!
Andrew Rasmussen
Cool idea! We're always looking for ways to make Canny easier to set up. Thanks for posting.