Using functional components in non-html output types #79
Unanswered
kristiandavid
asked this question in
Help
Replies: 1 comment 4 replies
-
|
Hello @kristiandavid and Happy New Year! Thanks for the question. The Arc XP guide on building non-HTML APIs lays out the recommended pattern for pure JSON endpoints:
Could you review that pattern and let us know which maps to your use case:
Best, Rado |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We're using class components for non-html output type components but were told we could use functional components instead. How would we go about using content sources in non-html functional components? We can't use
useContent, but wondering what other ways we could use our content sources.What we were told when asked about it earlier this year:
Beta Was this translation helpful? Give feedback.
All reactions