Is it true that channels/user_socket.ex
file can be safely removed when making an API only application accessed by a JS library on the front-end?
I have read that in some online tutorial.
Is it true that channels/user_socket.ex
file can be safely removed when making an API only application accessed by a JS library on the front-end?
I have read that in some online tutorial.
Unless you plan on using channels then yes it should be. It might be referenced from somewhere else but should be save to remove.
Don’t forget to remove socket ...
from endpoint.ex
.