Use Firebase with component