Learn how to use JavaScript's Proxy object to simplify accessing elements in an array by their unique identifier. This approach eliminates redundancy by allowing direct access to array elements using keys, while maintaining standard array functionalities. The implementation involves creating a custom toArrayView
function that uses Proxy to enhance array behavior.
In this blog post, I discover a new technique in instantiating an event listener class in NestJS with the help of NestJS Event Emitter package. This helps in TypeScript compiler to notify missing implemented property with the correct event data class.
I demonstrate how to use Golang reflect package to retrieve exported struct fields and value to convert them into a map of key string recursively
Inspired by Java Streams util, I built a similar utility class that is lightweight and has less lines of code