Answers about attributes
Questions and answers from the Croct community about attributes.
0
How do I pass my own variables into a slot with useContent in React?
the content a slot returns needs to depend on a value my component already has, like the plan tier or a category. I would rather feed that straight into the…
0
Why does my attributes object work in React but not in Next fetchContent?
took an attributes object that worked fine with useContent in a plain React app and moved it into a Next server fetchContent call. the values are just not…
1
Requests started failing after we enriched context attributes with a big object
We run a marketplace and started passing our product object as context attributes so audiences could target by category, seller, price range, etc. Worked at…