Tag: javascript
All the articles with the tag "javascript".
-
WeakMaps in JavaScript
Updated:WeakMaps allow objects to be used as keys, offering memory efficiency and encapsulation—ideal for private data storage and avoiding memory leaks.
-
How to Use Forked NPM Dependencies
Updated:When an NPM package is missing a feature or has a blocking bug, point your project at a maintained fork via a Git URL—plus modern alternatives like patch-package and overrides.
-
Adding a Close Button to Flash Messages in Rails
Updated:Learn how to add a simple close button to dismiss Rails flash messages and a modern Rails 7+ Stimulus approach.