Context Trees | Rewrite #24
aniketfuryrocks
announced in
Announcements
Replies: 1 comment
-
I'm glad you're taking the time to get this right. To become a standard function of a programming language takes careful consideration. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After switching to the observable pattern I noticed a particular trend in the paradigm of UI frameworks, i.e doing more than what is required for just state management. The functional observable pattern that was being developed for the gxi project, itself has a lot of problems concerning memory leaks and extended scopes or lifetime. I myself had some concerns while developing it, but it was the most optimal solution at the time.
Recently I came up with the idea of
context-trees
which not only solves the problem with the observable pattern but also fix the lifetime extension problem. Using thecontext-trees
I am able to directly bindstate
,mutation view node
andconsumer node
. Therefore, in theory, this new pattern will produce the same performance as any vanilla implementation while making complex features like livetree-shaking
possible.This is the 8th and hopefully the final re-write of this project. I have started working on it, but it will for sure take a lot of time.
Beta Was this translation helpful? Give feedback.
All reactions