Comment on Show HN: RoughNotation – create and animate hand-drawn annotations on a web pageComments−julianeon6yI'd love to use this, but I don't see an easy way how to using the frameworks I know, React (well) and Svelte (a bit).−shihnOP6yPeople have created framework wrappers for this:Rect: https://github.com/linkstrifer/react-rough-notation Svelte: https://github.com/dimfeld/svelte-rough-notation Vue: https://github.com/Leecason/vue-rough-notation−julianeon6yWow, thanks! That's exactly what I want, with a demonstration code example. I'll be using this.−yurry6yI advise you to learn Javascript/DOM before learning high level 'magic' frameworks. You clearly are missing the fundamentals.−495316yYou can use querySelectors in React, it's just normal JavaScript. You can also use refs if you don't want to use querySelector.−julianeon6yI'll look into this, thanks.
Comments
I'd love to use this, but I don't see an easy way how to using the frameworks I know, React (well) and Svelte (a bit).
People have created framework wrappers for this:
Rect: https://github.com/linkstrifer/react-rough-notation Svelte: https://github.com/dimfeld/svelte-rough-notation Vue: https://github.com/Leecason/vue-rough-notation
Wow, thanks! That's exactly what I want, with a demonstration code example. I'll be using this.
I advise you to learn Javascript/DOM before learning high level 'magic' frameworks. You clearly are missing the fundamentals.
You can use querySelectors in React, it's just normal JavaScript. You can also use refs if you don't want to use querySelector.
I'll look into this, thanks.