|
|
|
|
|
by kaelig
834 days ago
|
|
I'd go as far as saying: use both Storybook and MSW! They're both amazing tools, solving intersecting but different needs. As part of your SPA (or MPA) development, UI state complexity will inevitably grow, and shipping seemingly small cosmetic or logic changes becomes scary. Documenting component states in Storybook and plugging it to a tool like Chromatic or Percy or Applitools, will catch visual/accessibility/interaction regressions as a CI step. I work at Netlify where it's an integral part of "how we build", and the peace of mind we get out of these tests is amazing DX. |
|