I still don’t understand why you can’t do that?
You have a common library which contains the reusable code, and both client and server load it when needed. So the functionality is only written once and imported twice.
I still don’t understand why you can’t do that?
You have a common library which contains the reusable code, and both client and server load it when needed. So the functionality is only written once and imported twice.