tamotam-com / tamotam-app

(🧪 Early Beta) 🤙 TamoTam. HangOut. Offline.
https://tamotam.com
35 stars 4 forks source link

Sets instead of Arrays for events #50

Closed danieldanielecki closed 10 months ago

danieldanielecki commented 1 year ago

Events holding data from externally sourced could use a Set instead of an Array to remove duplicates. It's essential to fix lots of TODO regarding an id, which isn't unique. It'd need to be excluded somehow.

danieldanielecki commented 10 months ago

Fixed it differently in https://github.com/tamotam-com/tamotam-app/commit/7c1ea75120f3d26121c01d97c46db0ca1812d869, for now not gonna to replace Set's with Array's. The current solution works like a charm, and there was a lot of problems inside store when it comes to using Sets.