Using React, are there any good reasons to use class components vs. function components with the ArcGIS JavaScript API?