This was Nick's suggestion - since CSV is more fiddly than it appears, he recommended to use a CSV builder so that all escaping rules are accounted for, etc.
Therefore, I'm now sending through the CSV data through the port as lists of strings, rather than a single string with delimiters already included. On the JS side, the CSV builder library takes care of the CSV generation.
I've imported the ES5 version of the module to avoid an Uglify error during the app build.
This was Nick's suggestion - since CSV is more fiddly than it appears, he recommended to use a CSV builder so that all escaping rules are accounted for, etc.
Therefore, I'm now sending through the CSV data through the port as lists of strings, rather than a single string with delimiters already included. On the JS side, the CSV builder library takes care of the CSV generation. I've imported the ES5 version of the module to avoid an Uglify error during the app build.
Addresses https://github.com/kfrn/reel-time/issues/1