InITNEXTbyJuntao QiuThe Interface Mindset: How to Build Flexible, Maintainable React Components with Context APIThinking in interfaces can enhance the flexibility and maintainability of the code, despite appearing more complex at first glance.Mar 17, 2023Mar 17, 2023
InITNEXTbyJuntao QiuBreaking the Chains of Implementation: Leveraging React Context API with Interface-Oriented DesignBy using an interface-oriented approach in conjunction with React Context API, you can create powerful and flexible applications.Mar 20, 2023Mar 20, 2023
InITNEXTbyJuntao QiuWriting Better React Code with the Separation of Command and Query PrincipleLearn about the Separation of Command and Query Principle, a software design principle that promotes clearer, more maintainable code.Apr 26, 20235Apr 26, 20235
InITNEXTbyJuntao QiuThe Essential React Testing Guide: Boost Your Productivity and Confidence (with Jest and RTL)Writing tests in React is crucial to ensure that applications work as expected, catching bugs early in the development cycle and reducing…May 2, 2023May 2, 2023
InITNEXTbyJuntao QiuA Beginner’s Guide to Cypress Testing Framework with a Weather ApplicationYou will have a strong foundation in using Cypress for end-to-end testing, with page interactions and intercepting network requests.May 7, 2023May 7, 2023
InITNEXTbyJuntao QiuUnveiling 6 Anti-Patterns in React Test Code: Pitfalls to AvoidDefects are inevitable in software development, stemming from unclear requirements, logic errors, or overlooked edge cases. Detecting and…May 29, 2023May 29, 2023
InITNEXTbyJuntao QiuLegacy Code Survival Guide: Tips for Enhancing MaintainabilityA pervasive reality in a developer’s routine is interacting with legacy code, essentially code authored by someone else. This task can be…Jun 13, 20231Jun 13, 20231
InITNEXTbyJuntao QiuDecoupling UI and Logic in React: A Clean Code Approach with Headless ComponentsIn the realm of front-end development, terms and paradigms can sometimes be mystifying, and ‘headless UI’ or ‘headless components’ may very…Jul 6, 202311Jul 6, 202311
InITNEXTbyJuntao QiuSuccessful Test-Driven Development with Tasking in ReactTest-Driven Development (TDD) is akin to the art of painting. You begin with a sketch or draft, outlining basic shapes and lines with a…Aug 30, 2023Aug 30, 2023
InITNEXTbyJuntao Qiu7 React Clean Code Tips You Should KnowIn this article, I’ve summarised seven practical tips for you to write maintainable React code.Oct 2, 20221Oct 2, 20221
InITNEXTbyJuntao QiuThe evolution of a React applicationWhile I’ve put React application, there isn’t such a thing as React application. I mean, there are front-end applications written in…Feb 7, 20236Feb 7, 20236
InITNEXTbyJuntao QiuTest-Driven Development 101 with jestThis excerpt is from my book Mastering Test Driven Development with React. It is pretty independent and fundamental for applying TDD in…May 8, 2020May 8, 2020
InITNEXTbyJuntao QiuAutomatic refactoring with jscodeshift/codemodsI would like to introduce some techniques about how to apply automatic refactoring in your daily work through some usage of jscodeshift.Feb 17, 20211Feb 17, 20211
InJavaScript in Plain EnglishbyJuntao QiuDid Someone say Composition?How to compose React componentsJun 2, 2021Jun 2, 2021
InITNEXTbyJuntao QiuThe right way to place business logic in your React applicationUpdate (May 9 2023): If you’re interested in diving deeper into the subject, I’ve created an online course that covers all the topics…Nov 30, 20215Nov 30, 20215
InITNEXTbyJuntao QiuMaintainable React — A story about round-up (Part I)[Update 11.Nov.2022] Now that the whole series is done, I’ve created a book for it on leanpub. You can get a copy with this link for 30%…Jul 20, 2022Jul 20, 2022
InITNEXTbyJuntao QiuMaintainable React — A story about round-up (Part II)In the first part of this tutorial, we’ve discussed a feature about round-up and donating. After a few refactors, our code has reached a…Jul 29, 20221Jul 29, 20221
InITNEXTbyJuntao QiuWhen React Meets OOPIn this article, I’ll discuss a case study of mixing Object-Oriented Programming with React (Functional Programming) and demonstrate how it…Oct 26, 20222Oct 26, 20222
InITNEXTbyJuntao Qiu10 Refactorings to Boost your Clean Code SkillsI love refactoring. I love the process of cleaning the code bit by bit and eventually reaching a state that it’s easier for everyone who…Oct 31, 20222Oct 31, 20222
InITNEXTbyJuntao QiuHow to Write More Reusable Code?The key of reusability is abstraction, I’ll explain in details of how can you do it gradually to make your code more reusable and testableNov 12, 20222Nov 12, 20222