According to the docs:
Ionic now provides a command to help you manage the state of your Ionic application. Previously Cordova hooks were used to save platforms and plugins to your package.json file.
Now when using ionic platform add, ionic platform rm, ionic plugin add, or ionic plugin rm, the state command will automatically be used to save the platform or plugin state to the package.json file.
Does this mean I should remove the hooks that have to do with adding and removing plugins? Won’t they conflict with what ionic state is doing? I noticed they still exist in the GitHub - ionic-team/ionic-app-lib: The library used for using ionic apps - consumed by the CLI and the GUI repo. But if ionic state now handles this, why do these hooks need to exist?