I like the demo, and am interested in trying Elm out. One recommendation, performance is far better for transforms than using properties such as left. You could use translateX instead of left
left
translateX
You are right, translate would be better. I think I mentioned somewhere that opacity and transform are usually better... and then I used left ;-)
translate
opacity
transform
If you decide to try Elm, I suggest you to join Elm Slack, it is very beginner-friendly
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I like the demo, and am interested in trying Elm out. One recommendation, performance is far better for transforms than using properties such as
left
. You could usetranslateX
instead ofleft
You are right,
translate
would be better. I think I mentioned somewhere thatopacity
andtransform
are usually better... and then I usedleft
;-)If you decide to try Elm, I suggest you to join Elm Slack, it is very beginner-friendly