Hello Humanity — React SDK Quickstart Quiz
Section 1: Architecture and Setup
1. Why must the BrowserRouter component be the outermost layer, wrapping HumanityProvider?
*
2. Which environment should be selected in the Developer Portal when initially building and testing your application?
*
3. To ensure communication between your local dev server and the Developer Portal, which two settings must match exactly?
*
Section 2: Verification Workflow
4. What is the specific purpose of checking the "is human" credential preset?
*
5. When implementing the useVerification hook, why check result.value === true rather than just checking if the result object exists?
*
6. Why is it important to handle a "loading" state when using hooks like useHumanity?
*
Section 3: Testing Utilities
7. How can you test the full authentication and verification flow without using real biometric data?
*
8. What is the function of the clearVerificationCache utility during testing?
*