Sage with ACF Blocks - Component Based Javascript

So, recently I moved from ACF Flexible Content to ACF Blocks, but I’m having a hard time getting a component based solution for each block scripts.

Is the JS Dom routing system of Sage not compatible with some sort of solution?

I’d suggest handling blocks separately from the DOM routing. It’s still a WIP (and also Sage 10-specific), but you can check out how I’m handling it in my package ACF Blocks.

1 Like

yeah, getting excited for Sage 10, but is not production ready yet, right?

I’m personally using it on production.

You always provide really useful stuff, just wanted to say thanks for your work.

3 Likes

:slight_smile: Appreciate the compliment man.

1 Like

Agreed. Most of my browser history is Log1x/acf-builder-cheatsheet!

1 Like

This topic was automatically closed after 42 days. New replies are no longer allowed.