Alex Rohleder

Results 3 comments of Alex Rohleder

A solution that worked for me is to use [babel-plugin-search-and-replace](https://www.npmjs.com/package/babel-plugin-search-and-replace) to replace the custom input imports with a dummy component. Inspired by this solution: https://github.com/ricokahler/sanity-codegen/issues/59#issuecomment-1086887871 ```ts import { SanityCodegenConfig }...

Code-wise what we achieved here is that we removed the socket logic from the components and abstracted it out inside this socket provider hook. As I understood we call this...