TODO [x] Add onRender callback [x] Add id to profiler to identify components [X] handle class components