AncientBeast
AncientBeast copied to clipboard
ditch jQuery for UI+animation libs
We should totally ditch jQuery and replace it with an UI library plus an animation one, some options:
- https://vuejs.org
- https://vuetifyjs.com
- https://github.com/vuejs/ui
- https://nuxtjs.org
- https://greensock.com
- https://github.com/jeremyckahn/shifty - simple one for tweens
Or maybe keeping things native, using https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API/Using_the_Web_Animations_API
There's a lot of jQuery $.extend calls used to copy properties from one JS object to another. If it's simple values that are being copied, those can be replaced with native Object.assign. Otherwise, a relatively simple custom function could be used for deep copies.
Is that worth doing as an intermediate step in order to move towards this goal?
There's a lot of jQuery
$.extendcalls used to copy properties from one JS object to another. If it's simple values that are being copied, those can be replaced with nativeObject.assign. Otherwise, a relatively simple custom function could be used for deep copies.Is that worth doing as an intermediate step in order to move towards this goal?
Yeah, I guess so; if we decouple from the stuff without running into issues that's still progress.
We'll be going the Vue/Tres route.