Skip to content
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

Virtual Canvas ⚙️ #21

Merged
merged 9 commits into from
Oct 29, 2018
Merged

Virtual Canvas ⚙️ #21

merged 9 commits into from
Oct 29, 2018

Conversation

raphamorim
Copy link
Owner

@raphamorim raphamorim commented Sep 3, 2018

Closes #4
Ref: #12

Virtual Canvas ⚙️

Teaching reconciler how to work with canvas

screen shot 2018-09-02 at 21 17 25

This PR should implement all logic behind virtual canvas, so each state update exclusively on <View> components will reflect in a re-render of View children only, instead re-render everything.

How it works?

State Updated ->

prepareUpdate (with new Props) ->

diffProperties (select specific View that should be updated) ->

resetAfterCommit (clear and select every section related to that View) ->

render only specific queue (canvasObjects related to all previous selected sections)

Extra 🥂

Plus: Add Tooling package for help development with React Ape. In this PR, should be included: <Tools.Grid/>

@raphamorim raphamorim changed the title Virtual Canvas ⚙️ [WIP] Virtual Canvas ⚙️ Sep 10, 2018
@raphamorim raphamorim mentioned this pull request Sep 25, 2018
19 tasks
@raphamorim raphamorim changed the title [WIP] Virtual Canvas ⚙️ Virtual Canvas ⚙️ Oct 29, 2018
@raphamorim raphamorim merged commit e9094a0 into master Oct 29, 2018
@raphamorim raphamorim deleted the virtual-canvas branch October 29, 2018 23:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants