Optimum way of charging apple devices? I have recently read the article Should you leave your smartphone plugged into the charger overnight?

The article listed the following points:


  You can leave your phone plugged into the charger overnight without
  too much risk, provided it’s not a counterfeit charger, and you don’t
  let your phone overheat. For best results with your smartphone
  charging, here’s what to remember:
  
  
  Always use official chargers and cables, or certified alternatives from reputable brands and retailers.
  Don’t let your phone get too hot. Remove the case when charging overnight.
  For the longest battery life possible, try to keep your battery between 50 and 80 percent.
  Avoid letting phone battery completely discharge, and don’t charge it from 0 percent up to 100 percent too often.
  




Is this actually the optimum way of charging iPhones, iPads, MacBooks ?
That article is focusing on the possible dangers of starting a fire if not original components are used.

Now you can ignore it and continue using non apple hardware at your own risk (usually small but it can happen), or use OEM hardware that is designed to prevent overheating (over-current) and it will shut down before serious stuff occurs.

Definitely do not put it under your pillow while charging or in any case allowing it to radiate the heat generated.

The points 2, 3, and 4 are correct.