# Module side effects and import order

> Episode of [Frontend First](https://podistic.com/podcast/frontend-first.md) · Published August 18, 2021 · Duration 1:07:24 · Episode 128, season 1

- **Listen on Podistic:** https://podistic.com/episode/module-side-effects-and-import-order
- **Audio:** https://cdn.simplecast.com/audio/598aebea-91aa-4070-84b0-f8d21a4be43d/episodes/b5bb740f-1520-4885-bdd1-895271da6c76/audio/a7c5a1a1-2685-4b22-b77a-0c68eddc2c2b/default_tc.mp3?aid=rss_feed&feed=sOJAMohP (audio/mpeg)

## About this episode

Sam and Ryan talk about how module side effects can expose order-dependent code, and why its worth ensuring your modules work regardless of import order. They also talk about different UI patterns for forms in modals, and some tips for working with Mirage in Cypress.
