Best of Joshua Morony2025

  1. 1
    Video
    Avatar of joshuamoronyJoshua Morony·1y

    I actually use JavaScript generator functions

    Generator functions in JavaScript, though underutilized, are powerful tools for creating iterable sequences. This post explores their use in Motion Canvas, a library for creating animated presentations. By leveraging generators, Motion Canvas allows control over animations' timing, making scene development intuitive and flexible. The post provides a basic implementation example to understand this mechanism.

  2. 2
    Video
    Avatar of joshuamoronyJoshua Morony·1y

    This is why PROFILING is critical for high performance JavaScript

    The post details how the author used browser profiling tools to identify and fix performance issues in a JavaScript game. Techniques discussed include identifying slow frames, spotting memory leaks, and using flame graphs to trace problematic code. By spreading update actions over multiple frames and cleaning up particle emitter references, significant performance improvements were achieved.

  3. 3
    Video
    Avatar of joshuamoronyJoshua Morony·47w

    The super power most Angular developers don't know they have

    Angular developers can leverage their existing skills to build native mobile applications using Ionic and Capacitor. Ionic provides mobile UI components that adapt to iOS and Android styling, while Capacitor wraps the Angular app into a native package with access to device APIs. The tutorial demonstrates converting a standard Angular application into a mobile app by adding Ionic components, configuring the router outlet for mobile transitions, and using Capacitor to build for Android and iOS platforms.

  4. 4
    Video
    Avatar of joshuamoronyJoshua Morony·1y

    Angular without selectors is (probably) coming

    Angular may soon eliminate the need for double imports when using components by allowing direct reference to the TypeScript class in the template. This proposed change aims to simplify developer experience but needs to support all current Angular features, potentially sparking debates within the community. An example in the PR demonstrates how attributes, inputs, and directives might function with the new system, though it's still in early stages and subject to community feedback.