Functions: Basic Example

This example loads a joke from a deployed callable HTTPS function called getJoke, using the the useFunctionsQuery hook, and allows you to fetch a new joke using the useFunctionsMutation hook.

View example code.