The state seem to save the actual object instead of a JSON object.
// TODO: Fix. Some reference is off. Sill referencing object!
const comments = JSON.parse(JSON.stringify(state.comments));
const viewpoints = JSON.parse(JSON.stringify(state.viewpoints));
The state seem to save the actual object instead of a JSON object.