I wanted to add a little rainbow-parens plugin. I didn’t know Atom unloads non visible DOM elements on scroll and went directly with manipulating the Node tree:
The result, as soon as the user scrolls, the colors (and my custom classes) are gone.
What are some APIs I could use for this? Can I somehow persist my mutated classes?