3 ms·
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).
by julianeon 6y ago
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).
- shihn 6y agoPeople have created framework wrappers for this: Rect: https://github.com/linkstrifer/react-rough-notation https://github.com/linkstrifer/react-rough-notation Svelte: https://github.com/dimfeld/svelte-rough-notation https://github.com/dimfeld/svelte-rough-notation Vue: https://github.com/Leecason/vue-rough-notation https://github.com/Leecason/vue-rough-notation
- julianeon 6y agoWow, thanks! That's exactly what I want, with a demonstration code example. I'll be using this.
- 49531 6y agoYou can use querySelectors in React, it's just normal JavaScript. You can also use refs if you don't want to use querySelector.
- julianeon 6y agoI'll look into this, thanks.
- yurry 6y agoI advise you to learn Javascript/DOM before learning high level 'magic' frameworks. You clearly are missing the fundamentals.