Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

331
Views
Veriff integration into a react.js project, getting error document is not defined

I want to integrate Veriff SDK into the react js application which has SSR also enabled.

i am getting on just importing the package, rest is behind.

documentation: https://developers.veriff.com/#adding-js-sdk

can someone help me to integrate this veriff component in react js-laravel website ?

import React, { useState, useEffect } from 'react';
import Veriff from '@veriff/js-sdk';

const Verify = () => {
  const [message, setMessage] = useState('Hi there, how are you?');

useEffect(() => {
console.log('trigger use effect hook');

setTimeout(() => {
  setMessage("I'm fine, thanks for asking.");
}, 1000)
}, []);

  return   <div id='veriff-root'>{message} </div>
};

export default Verify;
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!