Is it possible to use the local payload api in custom react components in the admin dashboard ui?

default discord avatar
Alessio 🍣
5 months ago
7

Question from @Hendrik : Is it possible to use the local payload api in custom react components in the admin dashboard ui?



@Hendrik so the local API should only be used server-side. For react components there's a bunch of hooks you can use which you can use though - they do something similar!

Open the post
Continue the discussion in Discord
Like what we're doing?
Star us on GitHub!

Star

Connect with the Payload Community on Discord

Discord

online

Can't find what you're looking for?

Get help straight from the Payload team with an Enterprise License.