high-psychiatrist-94291
12/22/2022, 6:53 PMroom object with in different level of components. To make it easier to use it i tried to save it in to both context and Redux. But i couldn’t make it work for some reason. On redux i got this kind of error Type 'Room' is not assignable to type 'WritableDraft<Room>' .
As far as i understand, it cannot be saved on Redux store because room object is constantly updating i assume. Is anyone of you came upon this problem. If so how did you manage to store it and updated proparly. Because right now i have to pass it to every component as prop which is getting uglier every second.
Any little help would be great! Thank you in advance 🙂