News for hackers. Stuff that matters.
Re:The melting pot of JavaScript (2017) by bryanrasmussen on Tuesday January 08, 2019 @03:30AM (#18854173)
For a few things I've worked on Views can be rendered client side or server side.

Aside from form validation I find I might have a number of utility functions that are used on both layers.

I find there are a few other edge cases, but those are the most common situations where reuse is nice (on the other hand what I often do for personal projects is just build the server side and client side code from a gulp pipeline and not worry about needing 'isomorphic' code reuse, but often teams on paid for projects find this approach confusing)

There are no comments on this comment yet.