He was the most important composer of French Grand opera during the 1830s and 1840s . At his peak in the 1830s and 1840s , he was the most famous and successful composer of opera in Europe , yet he is rarely performed today .