I've installed a module and I need to get some value from frontend and pass it to a controller in my module.
is it a good practice to update in other module js
files that are not created by me? and is it ok to call a controller in other module
I've installed a module and I need to get some value from frontend and pass it to a controller in my module.
is it a good practice to update in other module js
files that are not created by me? and is it ok to call a controller in other module
You can override that .js file in your theme and do customisations (either you can override complete file or may also create mixins)
Yes you can use controller of other module but do not forget to add that module as a sequence in your custom module's module.xml https://devdocs.magento.com/guides/v2.3/extension-dev-guide/build/module-load-order.html