React — Why you should start integrating non-React libraries with React contextReact context is a relatively unpopular and optional feature. Yet, do you know it is an extremely powerful tool for library integration?Feb 3, 2023Feb 3, 2023
Angular — Three alternatives for unsubscribing observables at ngOnDestroyThis article summaries three popular approaches to manage Angular RxJS observable subscriptions .Dec 9, 2022A response icon3Dec 9, 2022A response icon3
Adding a transition effect for looping background video with pure JS/CSSUsing videos as the background is common for creative web design. Here is a guide to add a transition effect to make the looping smooth.Feb 26, 2022Feb 26, 2022
Angular — Four practical use cases of NgTemplateOutletNgTemplateOutlet is one of the most overlooked features in Angular. This article summaries four use cases that suit different projects.Apr 25, 2021A response icon1Apr 25, 2021A response icon1
Angular — An extremely simple and easy implementation of drag and drop list reorderingDrag and drop list reordering is a very common feature of webpages with lists of data. Here is an implementation without using library.Apr 20, 2021A response icon2Apr 20, 2021A response icon2
JS — A life changing coding trick with anonymous functionThis article introduces an extremely useful, but unpopular coding trick with anonymous function, which can highly improve code quality.Mar 26, 2021A response icon1Mar 26, 2021A response icon1
Angular — Four old fashioned practices that you should NOT carry forward to AngularThis article summarizes four classic web development practices that are not suitable anymore for the modern frontend framework — Angular.Feb 4, 2021Feb 4, 2021
Angular — Using service as a single source of truth for highly coupled pagesIt is common to have highly coupled page logic to suit complicated UI/UX designs. We can utilize service to reduce complexity for this…Jan 20, 2021A response icon3Jan 20, 2021A response icon3
Angular — Utilizing custom pure pipe to improve performancePipe is not only a powerful tool in Angular to achieve data transformation in templates, but also useful to improve performance.Nov 12, 2020Nov 12, 2020
Angular — Why you should (and how to) avoid Function.prototype.bind in templateFunction.prototype.bind is a potential performance killer when it is used inside an Angular template. Here is how you can avoid that.Oct 27, 2020A response icon1Oct 27, 2020A response icon1