|
|
|
|
|
by tthisk
2384 days ago
|
|
Lenses are type-safe, so if you care about type-safety then object/json paths are not really a feasible option. Regarding the boilerplate in this post, that is mainly a side-effect of demonstrating how lenses work. If you use a library like monocle-ts the boilerplate is reduced drastically (see: https://github.com/gcanti/monocle-ts). |
|