egal component, based on ES6 Object.is