I want to improve my code for saving/storing features when they are generated client side, for further clarity, the featurelayer doesn't come from a remote service.
currently I use the applyEdits to listen to changes and then store them as a json string, then act on the string.
However this seems, like the unlikely solution considering myriad of gaps associated with applyEdits.
What is the best practice if user generates a feature layer, and creates new features (using the editor widget in our case), and we want to save the features for future recollection.