2 ms·
"Wouldn't it be better to implement this as vanilla js component?" I have not yet done this, but as I understand it... it's possible to use whatever JS you wan
by scarecrowbob 8y ago
"Wouldn't it be better to implement this as vanilla js component?"
I have not yet done this, but as I understand it... it's possible to use whatever JS you want as long as it works with the GB api.
Basically, I did the hello world react Gutenberg thing, then took a look at a11y and saw that none of the 8K or so institutional user I support could probably legally use it, and then got back to whatever Vue map searching for CPTs or whatever BS I was building based on ACF and plain old CPTs.
So I dunno for sure, but as I understand it you can build your Gutenberg components in any JS-based system without a lot of overhead. But of course, probably best to just use React as that is what all the core components will be written with.