News for hackers. Stuff that matters.

chantastic

Re:Ask HN: Is it time for a new Storybook? on Monday November 21, 2022 @01:41AM (#33689572)
lmiller1990, have you experimented much with @storybook/test-runner?

I've found it pretty capable for doubling my stories as Jest tests. For those using testing-library for component testing, it even acts like a GUI for those tests.

If you're interested, I threw together a little walkthru that show some of the ways I'm using it with Jest: https://github.com/chantastic/vite-react-jest-testing-librar...

Re:React Podcast: React Europe Recap and CSS Debate on Sunday August 02, 2015 @10:13PM (#9993341)
If it's any help, the I've uploaded the Notes from the talk (mentioned in the podcasts), complete with speaker notes, here: https://speakerdeck.com/chantastic/inline-styles-react-europ...
Re:Ask HN: ReactJS – Do you use it? Do you like it? on Sunday June 21, 2015 @04:20AM (#9752667)
I like React because it's closer to JavaScript than any other JS library I've used. The public API is tiny; you get better at React by getting better at JavaScript.

The only thing I don't like about React is the rapid churn in architecture best-practices (Flux et al). This is in stark contrast to Ember—which nails conventions and tooling but is written far about vanilla JS.

We use React because components are a great abstraction for the web. React components are also very transportable, making them a great addition to integrated systems like Rails.

I like to focus on transferable skills. I don't want to be a Backbone/Ember/Angular/whatever developer. I want to be a good JavaScript developer. React makes that happen.