I did some modifications and added some extra functions in the file
/components/MY_COMPONENT/helper/MYFILE.php
What should I do to not lose these modifications in a future component update?
Joomla Stack Exchange is a question and answer site for Joomla! administrators, users, developers and designers. It only takes a minute to sign up.
Sign up to join this communityI did some modifications and added some extra functions in the file
/components/MY_COMPONENT/helper/MYFILE.php
What should I do to not lose these modifications in a future component update?
If the Helper Class is loaded in a dynamic way, checking if it's already loaded, YES. You can override it.
Not with a HTML overrides, but with a System Plugin. You can create a System plugin, loading same Helper Class before the original one.
Please, check this related question: How to override core classes?