i thought you had some basic understanding apprently you dont.
i will explain it in simple words
There are two types of GDP 1. nominal,2. PP
only nominal GDP is affected by devaluation, the effect are mostly temporary if devaluation is slight, as the loss is overset by inflation.
for example, if we produce a kilo of mango that's priced 50 rs a kilo(0.5$), if inflation occurs your GDP PP is unchanged but nominal will drop(as now 50 rs is 0.4$) as mango price 50 is not right price, this will be overset by inflation(total growth=gdp real growth+inflation), as mango will go up next year to 60 rs
this was seen in early 2008-09 with inflation over 20% due to devaluation was done then
problem is political parties have not allowed natural devaluation and end up doing abrupt devaluation which is not good due to being inherently unstable
NOW THIS DOESNT APPLY OBVIOUSLY TO EXTREME DEVALUATION IN CASES OF RUSSIA, IRAN OR ZIMBABWE
the result of losing 10% will simply by 5-10% of inflation than very low levels of 3-4% we have been seeing recently