Michael Jewell·Dec 13, 2023Hacking Cypress Return Values For Better E2E TestsIn the dynamic world of software testing, Cypress has emerged as a go-to framework for end-to-end testing thanks to its robustness and ease…A response icon1A response icon1
Michael Jewell·Jan 29, 2019Rethinking React StateEventually some of your React components will get too complicated to easily maintain. When they do, it can be helpful to split them up into…A response icon5A response icon5
Michael Jewell·Jul 2, 2018Multi-Page MobxMobx is very unopinionated about how you structure your app, which is ultimately a great thing, but it can be intimidating when you are…
Michael Jewell·Apr 6, 2018Pulling State out of ReactA pretty common pattern in React is to use container and presenter components. Dan Abramov talks about it here, but the gist of it is that…
Michael Jewell·Nov 2, 2017Maximizing Higher-Order Component ReusabilityMuch like regular React components are the core unit for sharing UI elements in an app, higher-order components are the core unit for…
Michael Jewell·Mar 28, 2017Functional Composition of React ComponentsFunctional composition is a mechanism to build complex functions by combining multiple simpler functions. This style can help you create…A response icon5A response icon5
Michael Jewell·Mar 13, 2017Designing React Components for Modularity, Reusability, and TestabilityThe single responsibility principle states that each component of a system should only do one thing. It’s a pretty widely accepted best…A response icon1A response icon1
Michael Jewell·Jan 8, 2017formobx: Simple forms with MobXChances are, a lot of web development you do revolves around writing forms. With MobX, state management is generally a breeze, but I found…