Answers Headless React
answers-headless-react is the official React UI Bindings layer for @yext/answers-headless.
It lets your React components read data from a answers-headless, and dispatch actions to update state.
License
Yext Answers-core is an open-sourced library licensed under the BSD-3 License.
Development
First, run npm install
, and then npm install-sample-app
to set up the testing app.
Then, run npm start
to kick off the development server.
Finally, in a separate terminal use either npm run build
or npm run watch
to rebuild the react bindings layer.
The development server will automatically reload when updates are made to the build output for answers-headless-react.