-
-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Patch Component render function #416
base: master
Are you sure you want to change the base?
Commits on Apr 12, 2024
-
Current situation: If the render function of a component closes over/…
…captures state that state is stale. This is the case because we never change the render function - even tho it's instantiated. This change makes it possible to access outer state and re-render when captured state changes. This is still a prototype.
Configuration menu - View commit details
-
Copy full SHA for 9dcdfa7 - Browse repository at this point
Copy the full SHA 9dcdfa7View commit details
Commits on Apr 14, 2024
-
- don't use ref cells, but actually pass the field by reference. This…
… requires not using an FSharp function as getting the address of a function type is prevented by the compiler. I guess casting the function to an object might have also worked here. - simplify bindings by passing in the RenderFunctionProperty
Configuration menu - View commit details
-
Copy full SHA for 4e8d91d - Browse repository at this point
Copy the full SHA 4e8d91dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e9c5035 - Browse repository at this point
Copy the full SHA e9c5035View commit details -
first shot at only re-rendering components that have capturing render…
… functions. This works but is still a bit messy.
Configuration menu - View commit details
-
Copy full SHA for 4231970 - Browse repository at this point
Copy the full SHA 4231970View commit details -
split component into two classes:
Component: plain old component, unchanged from master ClosureComponent: component that works well with render function that captures state
Configuration menu - View commit details
-
Copy full SHA for 755dec8 - Browse repository at this point
Copy the full SHA 755dec8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 757ac0e - Browse repository at this point
Copy the full SHA 757ac0eView commit details
Commits on Apr 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 42dbcd6 - Browse repository at this point
Copy the full SHA 42dbcd6View commit details