Added componentInit() to React components