Skip to content
Module side effects and import order episode artwork

EPISODE · Aug 18, 2021 · 1H 7M

Module side effects and import order

from Frontend First · host Frontend First

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. Topics include: 0:00 – Intro 4:04 – Keeping imports order-independent when modules have side effects 25:02 – Using Mirage with Hasura 32:00 – Cypress helpers for mocking auth and data 46:37 – UI patterns for modal actions 56:26 – Organizing shared query code Links: [GitHub Codespaces](https://github.blog/2021-08-11-githubs-engineering-team-moved-codespaces/)

Episode metadata supplied by the publisher feed · Published Aug 18, 2021

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

Distinct summary based on available episode metadata or transcript content.

Ready to play

Module side effects and import order

0:00 1:07:24

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

No similar podcasts found.

Frequently Asked Questions

How long is this episode of Frontend First?

This episode is 1 hour and 7 minutes long.

When was this Frontend First episode published?

This episode was published on August 18, 2021.

Can I download this Frontend First episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.
URL copied to clipboard!