skidding

Joined 16 years ago

Karma
463
Submissions
106
Member since
Jun 18
twitter.com/skidding
View on Hacker News

Recent submissions

Comment · 5 years ago
Updated the project description roughly to this. You're part of the Cosmos story now – Cheers! :)
Comment · 5 years ago
Couldn't have said it better myself, thank you!
Comment · 5 years ago
Comment · 5 years ago
Wow, author of Cosmos here. For the record I didn't post this. So thanks to OP and everyone who upvoted. It's cool that Cosmos still generates new interest after so many years.

Yes, Cosmos is very similar to Storybook. It's also older, and I'm only saying this because I'm tired of getting asked how does it differ. Both projects provide an isolated component environment to help tackle complexity in single page apps. The difference boils down to setup compatibility and personal taste.

I'm not gonna lie, some of the comments are tough to process, but what can you do. I still appreciate all feedback and as usual I'll try to incorporate it as best as I can.

Comment · 5 years ago
Comment · 5 years ago
It _is_ the same project though, hugely improved.
Comment · 5 years ago
Comment · 5 years ago
Comment · 6 years ago
Totally agree, like I said I also avoid defaults exports (for the same reasons). But I'm fine with default exports in fixtures because you never import them by hand, they are picked up automatically by React Cosmos. And you can customize no-default-export rules to ignore fixture files.
Comment · 6 years ago
I generally avoid defaults exports as well but didn't realize some codebases disable them completely. What do you mean by "non-default-exporting" TSX files, can you provide a link?

> Perhaps adding shim files that import the component and re-export as default?

Definitely, you could add a transform to the Cosmos build pipeline that renames some named export to default. If you're willing to write the transform I'll gladly help you integrate it.

Comment · 8 years ago
Comment · 8 years ago
The first version did! But I removed it because I didn't want Blizzard to take me down for copyright infringement, haha. And to be honest it was getting annnoying while I was working on the app cause I heard it dozens of times a day.

But Heartstone? Ha! Go back in time another 12 years.

I used to play Warcraft III in highschool and that sound stuck with me for sure.

Comment · 8 years ago
I fixed some Firefox & Safari issues in the meantime, and added more browser polyfills. If you have the chance let me know if you see any improvement on your side after clearing the cache. Thanks!
Comment · 8 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton