Q

Results 66 comments of Q

Chatted with @saramarcondes briefly on this. I think we'll hold on the upgrade for now, since Gutenberg is currently on Emotion v10. Will keep this issue open, but removing from...

Bumping this! Emotion 11 was something @saramarcondes had mentioned recently during the G2 -> Gutenberg integration process. I'll be looking into this to see how we can elegantly migrate to...

It looks like `@emotion/create-instance` would be a good place to start: https://github.com/emotion-js/emotion/blob/master/packages/css/src/create-instance.js

Update! Looks like swapping `create-emotion` with `@emotion/css/create-instance` works! The only hiccup is Stylis. Stylis V4 is very different (mentioned in the original issue). We'll need to make some adjustments there...

The main component we rely on Framer Motion for (at the moment) is Collapsible. Replacing it with `react-spring` would mean writing something like this: https://gist.github.com/ItsJonQ/31c470eb64cbce3762db19dd7841206e Not impossible.. it's just very...

Refactoring `Navigator` will be tricky as well... 🙈

Current working branch: https://github.com/ItsJonQ/g2/tree/update/remove-framer-motion-for-react-spring

@stokesman I have! I found it when I was reading their much larger issue: https://github.com/framer/motion/issues/364 I could give this a shot 🙏 . Although, we'd have to figure out polyfills...

Just made a push that prototypes s `react-dnd` solution: https://github.com/ItsJonQ/g2/commit/f0360f53e3c6e3d1a3661c6e70324d92866aa367 It feels okay so far :). How... let's see if we can get some sort of animated sort/reorder solution going!...

The above solution uses React DND. I'd like to explore React Beautiful DND next, as it has sortable features built in (as well as default support for mobile events)