Boil spinach and artichokes together in 1 cup of water until tender.
Drain the water and discard it.
Heat a cast iron skillet over high heat for about 2 minutes.
Add olive oil, followed by the chopped artichokes and half the salt.
Stir well and then press down with a spoon.
Cook for 3 minutes without stirring.
After 3 minutes, stir, press again, and cook until browned.
This should take another 3 minutes.
Add in the red pepper flakes and minced garlic.
Stir frequently for about 1 minute.
Incorporate the boiled spinach and the remaining salt.
Simmer and stir occasionally for about 1 minute.
Add white wine and continue cooking until the wine is nearly dry.
Turn off the heat and whisk in the cream cheese until smooth.
Mix in the Parmesan and Mozzarella cheese until melted and well combined.
Serve hot and enjoy!