I was at my first real software job and we had an in-house system to provide automated installers for common open-source applications for our end-users. After I started getting familiar with it I had a dream one night that certain input fields (which were very common) could be rather easily exploited to inject shell commands with root access.
I woke up convinced that it was a real bug, went to work the next day, and proved it. It was exactly as I dreamed. I never had access to our internal codebase, but had seen enough of the front-end and what we stored on disk to piece it together in my dream.
While it made me popular with some folks, it was a strange lesson indeed to discover that not everyone was as thrilled to have an up-start from tech support make such a discovery.
Fast forward almost 20 years later and I've never had anything even remotely close happen again.
At uni on an advanced algorithms class we had a take-home exam with 6 problems for 3 days or so.
On Saturday I already had some ideas for most problems, but there was one that I didn't knew how to approach and stayed a bit late thinking about it.
On Sunday morning I woke up really exited as I solved the damn problem. I immediately knew that probably like dreams, the memory was fragile, so I rushed to my desk to write the sketch for the idea, which after grabbing coffee turned into my solution to it.
There's no way I didn't spent my sleep thinking about it and solving it, likely around the last sleep cycle when I woke up.
Had a very similar one, I wasn't working frontend but had a dream about a frontend vulnerability that also proved to be true. I dreamed about it, and assume it was because it's the kind of thing that bugs me and while dreaming I had some time to think about things other than the code at hand.
Did you try to harness this power again? I.e. seed your dreams to solve problems?
so cool. that happens to me with music a lot.
When I was young, I dreamt that I was playing guitar and made up a cool song. When I woke up I was so excited, that's something you would hear an old rockstar say about their best song, right? "Came to me in a dream". I jumped out of bed, grabbed the guitar, and started playing the song, every note still clear in my memory.
It was a completely random series of notes.