Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interactive example via online editor #3

Open
achou11 opened this issue Apr 3, 2022 · 4 comments
Open

Interactive example via online editor #3

achou11 opened this issue Apr 3, 2022 · 4 comments

Comments

@achou11
Copy link
Contributor

achou11 commented Apr 3, 2022

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)

@tornqvist
Copy link
Owner

tornqvist commented Apr 6, 2022

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.

@achou11
Copy link
Contributor Author

achou11 commented Apr 6, 2022

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 😅

@tornqvist
Copy link
Owner

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

@achou11
Copy link
Contributor Author

achou11 commented Aug 2, 2023

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants