jvalen / pixel-art-react

Pixel art animation and drawing web app powered by React
https://www.pixelartcss.com/
MIT License
5.43k stars 306 forks source link

Performance optimization (Work in progress) #10

Closed michaelrambeau closed 8 years ago

michaelrambeau commented 8 years ago

Hi Javier, this is my first pull request on this project, yeah!

So I tried different tricks to improve performance as mentioned in this issue #9 , the main problem is that a drag and drop to draw a line is not smooth.

It is still work in progress but I created this pull request so that you can check by yourself the improvements I made. So please have a look at the changes and test this branch locally.

jvalen commented 8 years ago

Hi @michaelrambeau

Thank you so much for your time. The performance improvement is huge, let me know when you want me to merge the changes.

michaelrambeau commented 8 years ago

I have renamed the components, back to the initial names, so that you can easily compare before / after. Let me know if it is OK and then, yes, go ahead, merge, deploy to Heroku to see if it really improves things "in production".