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

Refactor for v3 #65

Closed
wants to merge 10 commits into from
Closed

Refactor for v3 #65

wants to merge 10 commits into from

Conversation

jamesrweb
Copy link
Collaborator

The basic idea is to move towards a more functional approach. As you can see the code is a lot tighter than before but still retains its functionality. There is one major issue still outstanding and that is the rerendering issue. I need to look into this but you can run the demo and see that it does apply the rotation as expected albeit with a rerender for each frame (which we don't want). Will keep working on this over the coming while but appreciate any feedback on the pros/cons of this implementation and also any ideas on how to resolve the rerendering issue that you may have. Until then I will see what I can do on my end and update as I go.

The basic idea is to move towards a more functional approach. As you can see the code is a lot tighter than before but still retains its functionality. There is one major issue still outstanding and that is the rerendering issue. I need to look into this but you can run the demo and see that it does apply the rotation as expected albeit with a rerender for each frame (which we don't want). Will keep working on this over the coming while but appreciate any feedback on the pros/cons of this implementation and also any ideas on how to resolve the rerendering issue that you may have. Until then I will see what I can do on my end and update as I go.
@jamesrweb jamesrweb self-assigned this Nov 25, 2020
@jamesrweb jamesrweb linked an issue Nov 25, 2020 that may be closed by this pull request
jamesrweb and others added 5 commits November 26, 2020 14:50
Adds the ability for users to pass an  props to the wrapper instance and each of these attributes will be in turn put onto the wrapper such as id / class / etc.
Merging since its a minor change although a review in future would be nice..
* Updated dependencies

* Updated package-lock for sanity check

* Fixing NCU issue with updating devDependencies
@jamesrweb
Copy link
Collaborator Author

Released the main changes as part of #101. A few more changes will be added before the version 3 release but we are almost there!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant