In a large bowl, whisk together the flour, baking powder, salt, and sugar until evenly combined.
Add the milk and the coconut oil or melted butter to the dry ingredients and stir until just combined. Let the batter rest for 5 minutes to thicken.
Heat a nonstick skillet or griddle over medium heat and lightly grease with cooking spray or a little oil.
Scoop portions of batter onto the skillet (about 1/4 cup per pancake). Cover the pan and cook until the edges are bubbling and the bottoms are golden, about 2–3 minutes.
Flip each pancake and cook until the other side is golden and the pancakes are cooked through, about 1–2 minutes more.
Repeat with the remaining batter, greasing the pan as needed, and serve warm.