Liu Ting ChunReact — 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
Liu Ting ChunAngular — Three alternatives for unsubscribing observables at ngOnDestroyThis article summaries three popular approaches to manage Angular RxJS observable subscriptions .Dec 9, 20223Dec 9, 20223
Liu Ting ChunAdding 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
Liu Ting ChunAngular — 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, 20211Apr 25, 20211
Liu Ting ChunAngular — 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, 20212Apr 20, 20212
Liu Ting ChunJS — 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, 20211Mar 26, 20211
Liu Ting ChunAngular — 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
Liu Ting ChunAngular — 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, 20213Jan 20, 20213
Liu Ting ChunAngular — 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
Liu Ting ChunAngular — 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, 20201Oct 27, 20201