AppLogiQ interview question

Some basic stuff on react compound and it's effects