const uniqify = (array, key) => array.reduce((prev, curr) => prev.find(a => a[key] === curr[key]) ? prev : prev.push(curr) && prev, );
Pass an array and the name of the key as a string you wish to de-deplicate on and you’ll get back an array with unique values. Use it like this:
const result = uniqify(myArrayOfObjects, 'guid')
Are you interested in setting up a react web app from scratch so you can understand how all the components fit together? Follow this guide and you’ll get a good understanding of the basic components required to set up the ‘ERN’ stack, which stands for Express React Node.js
For anyone wanting to set up data processing or Extract-Transform-Load (ETL) jobs quickly and easily the Pentaho Data Integration suite is great!
You can buy the Enterprise version which I imagine costs a lot of money, or you can download the community edition and install it yourself.
You must have a java runtime (JRE) on your mac. To check if you have one, go to a terminal command line (cmd+space) and type ‘terminal’. Once in the terminal, type
java -version. If you see something like this:
java version "1.8.0_92"
Java(TM) SE Runtime Environment (build 1.8.0_92-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.92-b14…