cheminfo / cheminfo/nmrium

View state

Open
#1,832 0 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
TypeScript
Stars
80
Forks
34
Avg merge
2d 9h
Merged PRs (30d)
36

Description

@lpatiny

I am wondering why the refactor that done in the view state using an array and not an object. since the spectrum id is unique (uuid) and by that, i do not need to look inside the array to find the object

https://github.com/cheminfo/nmrium/blob/fc2885848bade3224aa134ce04e0c2d157fadfa0/src/component/reducer/Reducer.ts#L98-L99

Do you have any idea why this?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.