4 ms·
It took me a long time to realize this and in some ways I'm still realizing it. "Isomorphic" or "Universal" are fancy terms for dual execution. Your code is ru
by tboyd47 11y ago
It took me a long time to realize this and in some ways I'm still realizing it.
"Isomorphic" or "Universal" are fancy terms for dual execution. Your code is run on the client and server. It has technically been possible ever since Node came out, but the problem is that client-side and server-side code interact with different APIs and carry out different tasks with them. The inputs and outputs are different so the code ends up different, even if written in the same language and even with the same design patterns.
TL;DR: JS on Client + JS on server != JS everywhere.
It's hard to understand this.