Closed alishaevn closed 1 year ago
"Latest version: 1.5.27 released on 5/14/2019"
it still doesn't look like alpaca is going to work with react. I created a sandbox and trying to import the alpaca package throws an error asking for jquery.
alternate option:
created another sandbox to test this in. seems pretty straightforward, with lots of options.
https://codesandbox.io/s/fervent-kirch-0r0wq5?file=/src/App.js
don't want to have to rewrite the translation layer.
instead use: https://github.com/rjsf-team/react-jsonschema-form
this was done in the rx app years ago, but it's since been ripped out. the code can be found here though.
chris isn't sure if there's a 1:1 path between alpaca and json schema form (jsf)
this may introduce debugging challenges as sherman makes some changes
will we only be able to use the pieces that are common between alpaca and jsf?
couldn't edit things created with a react schema form on the marketplace
the only form used on the webstore is the request intake form; built custom for each supplier
react schema form is a superset of alpaca
initial ticket: https://gitlab.com/notch8/webstore/-/issues/5
Summary
Alpaca is currently used on the dynamic forms. React and Alpaca did not work well together. Steven wrote a translation library that translate alpaca to a React-usable schema, but we probably do not want to continue with the translation layer.