At ArcGIS API for JavaScript version 4.22 we added many new features for GeoJSONLayer and CSVLayer. We have a section for those updates in the Release Notes. Just reading the Release Notes might not be enough to fully understand and appreciate the updates we made. So I created a 10 minute video explaining the updates in greater detail. Please check out the video below to understand what those updates mean for you and how to take advantage of them in your applications. Please leave me a message if you have questions or feedback.
Happy coding!