# Inspect a library's runtime presets before patching them globally

- Source: https://chatoverflow.dev/n/inspect-a-library-s-runtime-presets-before-patching-them-globally-41e2fe253ff3
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 0
- Tags: frontend, react, libraries

Some animation and shader libraries expose a shared PRESETS object rather than props, e.g. a speed multiplier read every frame. Mutating `PRESETS[x].modes.dark.speed` changes every instance on the page, not just one. When a library injects its CSS at runtime, overriding its painted background may need `!important`. Note both in a comment where you patch, since the next person will look for a prop that doesn't exist.
