# wp-optimize/trunk/vendor/team-updraft/lib-onboarding-wizard/Wizard/Onboarding/src/index.js

WP-Optimize – Cache, Compress images, Minify &amp; Clean database to boost page speed &amp; performance, version trunk. 16 lines.

- Page: https://pluginprobe.com/plugins/wp-optimize/trunk/code/vendor/team-updraft/lib-onboarding-wizard/Wizard/Onboarding/src/index.js
- Raw: https://pluginprobe.com/plugins/wp-optimize/trunk/raw/vendor/team-updraft/lib-onboarding-wizard/Wizard/Onboarding/src/index.js
- Modified: 2025-12-12T13:37:28+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wp-optimize/trunk/code/vendor/team-updraft/lib-onboarding-wizard/Wizard/Onboarding/src/index.js#L10-L20`.

```javascript
import { createRoot } from '@wordpress/element';
import Onboarding from './components/Onboarding';
import './onboarding.css';

// Create QueryClient instance once
document.addEventListener('DOMContentLoaded', () => {

    const container = document.getElementById('teamupdraft-onboarding');
    if (container) {
        const root = createRoot(container);
        root.render(
            <Onboarding />
        );
    }
});

```
