i tried creating a backend file. the first one created was jsw and the second one created was js. so just curious whats the difference between jsw and js?
1 Like
The difference is in how those files are exposed to public code and page code.
a js file is a regular backend module and is not exposed at all to client calls.
a jsw file is a web module - it can be imported from client code, getting in the client proxies to all exported functions.
Read more about it here -
thank you!