Artwork

Content provided by Frontend First, Sam Selikoff, and Ryan Toronto. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Frontend First, Sam Selikoff, and Ryan Toronto or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.
Player FM - Podcast App
Go offline with the Player FM app!

Module side effects and import order

1:07:24
 
Share
 

Manage episode 300222570 series 1635850
Content provided by Frontend First, Sam Selikoff, and Ryan Toronto. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Frontend First, Sam Selikoff, and Ryan Toronto or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.

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:

  continue reading

185 episodes

Artwork

Module side effects and import order

Frontend First

198 subscribers

published

iconShare
 
Manage episode 300222570 series 1635850
Content provided by Frontend First, Sam Selikoff, and Ryan Toronto. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Frontend First, Sam Selikoff, and Ryan Toronto or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.

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:

  continue reading

185 episodes

All episodes

×
 
Loading …

Welcome to Player FM!

Player FM is scanning the web for high-quality podcasts for you to enjoy right now. It's the best podcast app and works on Android, iPhone, and the web. Signup to sync subscriptions across devices.

 

Quick Reference Guide