one of the cheap LED lights started flickering so I decided to crack it open.
the main component is a BP3122 LED Driver. other than that there a big rectifier and electrolytic capacitor to convert the AC into DC, and a small transformer and few other components needed by the driver.
funny thing I noticed, are the missing pads on the NC pins, so they are not even soldered to the board. I guess it saves some money when making billions of these things.