Crucial Laptop Memory
2 x 8GB, 2666 MHz, DDR4-RAM, SO-DIMM
Crucial Laptop Memory
2 x 8GB, 2666 MHz, DDR4-RAM, SO-DIMM
Generally speaking, I would prefer the SO-DIMM memory cards for Macs that are sold specifically for the respective Mac type and year. You can find them on the websites of Corsair, Samsung, Crucial, OWC and the like. Since I used this RAM for a Windows laptop, I can't answer your original question directly. Basically, however, any third-party RAM is a bargain - at least in contrast to what Apple offers.
From what I've seen, these bars should fit and work. If you want to be on the safe side: take these Crucial Memory for Mac (2 x 8GB, DDR4-2666, SO-DIMM 260 pin)