The Parse Function

The parse function allows you to do some pre-processing of the data sent from the server before the model is created. Parse should return an object containing the values that will make up this models attribues. This is called after the fetch command has recieved the data, but before the response is put into the model. The example below parses dates to local time before adding them to the model using moment.
Continue reading

  • page 1 of 1

Tommy "TerribleDev" Parnell

Hi, my name is Tommy. I work very hard to deliver quality content, free. If I helped you please consider donating.


Software Engineer II


Boston Area