3 ms·
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
by bryanrasmussen 8y ago
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)