Question
Questions on React Components for Headless Adaptive forms
Hi all,
We are working on delivering adaptive form as headless so a react spa can render it. We have used react starter kit as a base to do the POC. At this point, i have following questions while i try to wrap my head around these things and frame a picture. Any help in explaining would be great
- When i view https://www.npmjs.com/org/aemforms , i see a af-react-components and af-react-vanilla-components , how are they distinguished ? i see a latest commit into the af-react-components.
- I also noticed, af-custom-functions, how is this used ? i understand that we can include the same functions in our client libs and instead of loading them, the af-react-renderer would identify as they are included as dependency ?
- In order to use Scribble signature from Core components, we have been also provided with a custom theme, since this is headless, should i ask Adobe to include the theme into the react version, so it includes it as dependency ?
- Instead of using af-react-vanilla-components, in case react uses custom components, can they still re-use the JS functions that they load from AEM
- I have also noticed there is no Header and Footer component on React side, i remember reading JS embed approach of adaptive form strips of header and footer, that this stay valid for headless as well ? should we involve in adding headers and footers for headless ?
Thanks,
Abhishek