Funfunz / lumina-next

https://lumina-topaz.vercel.app
6 stars 0 forks source link

Improved application context #97

Open JWebCoder opened 1 week ago

JWebCoder commented 1 week ago

Every time a user adds, edits or deletes a component, out context reducer is crawling the entire component tree in order to find that component and edit it We cloud leverage the JS capability of object pointers, to make it simpler to target components without crawling the entire application Another option is to flatten the entire component structure on the context side, and we create a parser that is able to transform the JSON into that structure and then back from the structure to the JSON for server requests.

Acceptance criteria

JWebCoder commented 1 week ago

I'll wait on the tickets #80 and #85 because they changed the data structure and this will do one more refactor. It's better to have those tickets merged before this.