Peel the white outer skin of the jackfruit seeds. Cut them into halves and boil them with a pinch of salt and 1 cup water till they are half cooked.
In a pan heat some oil and add the chopped onion.
When the onions turn translucent add turmeric and chili powder. Saute for 3-4 minutes and add the finely chopped spinach followed by salt.
Cover the pan with a lid and allow the spinach to wilt. Open the lid after five minutes. The spinach would have released some water.
Increase the flame and stir the spinach to reduce the water content before adding the cooked jackfruit seeds.
Once the spinach is nearly dry and all the water has evaporated add the jackfruit seeds and cook the jackfruit seeds along with spinach for 2-3 minutes.
Check the salt level because the jackfruit seeds taste sweet so you may need more salt. Finally garnish with grated coconut and the stir fry is ready.