Thread Starter
kerox
(@kerox)
So, the problem was that I didn’t know how I’m supposed to use React components in WP. Apparently, I had to create and empty div with an id and then use render() in an external script to attach the actual component to the save function. Weird it isn’t mentioned in the docs…