Possible performance improvement for component rendering