Dong CheninITNEXTAPI mocking in unit test and storybookThis post explores three levels of API mocking and how we can make mocking work the same way for both storybook and unit test.Apr 29, 2021Apr 29, 2021
Dong ChenIs microfrontend the future?Microfrontend enables the independence of development and deployment of Web apps while maintaining a fast, cohesive user experience.Mar 5, 2021Mar 5, 2021
Dong CheninThe PayPal Technology BlogSharing UI Components at an Enterprise LevelCheck out some of the tools we use at PayPal to share UI components across our products.Jun 2, 20207Jun 2, 20207
Dong ChenHandle GraphQL loading state with React useEffectAvoid multiple spinners and handle them elegantly with useEffectMar 13, 2020Mar 13, 2020
Dong CheninThe PayPal Technology BlogWhat Exactly is JAMstack?JAMstack is empowered by a collection of modern tooling including CDN caching, CORS, JWT, open API, headless CMS, and static site…Oct 23, 20191Oct 23, 20191
Dong ChenTheme UI: encouraging consistent and responsive styling practicesCSS is not fun to me personally. But the css-in-js solution provided by tools like emotion and styled-components makes it a lot more fun…Sep 3, 2019Sep 3, 2019
Dong ChenDifferential serving vs. polyfill service: How to best serve modern and legacy browsersMost users today modern browsers, yet we still have a small but important percentage of traffic from legacy browsers like Internet…Apr 11, 2019Apr 11, 2019
Dong ChenHow does npm handle conflicting package versions?If you find this post useful, don’t forget to give me your 👏 (s) and follow me on twitter https://twitter.com/imDongCHENFeb 26, 20191Feb 26, 20191
Dong ChenFour pro tips for React developmentThese four tips are lessons I learned recently. Just want to share in case you find it useful.Oct 2, 20181Oct 2, 20181
Dong ChenThoughts on Node middleware being an impure functionThis post discusses a usage pattern of middleware in Node.js, and my thoughts on its pros and cons. I’ll start with a brief introduction to…Sep 12, 20181Sep 12, 20181