Fluently Building Javascript Objects
Wednesday, June 7, 2017When setting up objects to be shared between the server and client, sometimes the size of them can get a bit out of hand. Normally I don't bother with setting up a fluent api to build objects, but in some cases it may be necessary to hide some of the complexity as well as make it easier to read. This post will show a simple example of how I have implemented it in the past.