yeet icon indicating copy to clipboard operation
yeet copied to clipboard

Interactive example via online editor

Open achou11 opened this issue 2 years ago • 4 comments

Would love to play around with yeet in something like CodeSandbox. I tried to set it up but didn't have much luck. At a minimum, a JS example would be great to have (although personally would also like there to be a TS example as well)

achou11 avatar Apr 03 '22 04:04 achou11

That's not a bad idea! As I mentioned in #4, I have a rewrite in the works and as soon as it's a bit more stable I'll be happy to set up a sandbox. I'm not very well versed in TS though and would really appreciate some help on that part. For the curried Component constructor I found it especially hard to declare types.

Also, there are examples in the examples folder.

tornqvist avatar Apr 06 '22 07:04 tornqvist

awesome! and yeah I'm honestly not the best with TS when it comes to configuration and declaring super complex types, but happy to try my best with it (and hopefully learn from it) when you're ready!

yeah I saw the examples but was hoping for something closer to a dev env where you're importing yeet as a dep and all too, to get a "real feel" for how to scaffold a minimal project. a bit nitpicky I know 😅

achou11 avatar Apr 06 '22 12:04 achou11

Ohh, definitely! An interactive environment without having to clone the repo or setup node would be great!

tornqvist avatar Apr 07 '22 14:04 tornqvist

I'm not very well versed in TS though and would really appreciate some help on that part. For the curried Component constructor I found it especially hard to declare types

been playing around with trying to define this and wow it's hard 😅 especially finding it difficult to figure out the right incantations to get TS to understand that a store may add/update properties on the local state object. tbh not sure it's even possible...

achou11 avatar Aug 02 '23 20:08 achou11