# extendify/3.2.1/src/Assist/page.js

Extendify, version 3.2.1. 30 lines.

- Page: https://pluginprobe.com/plugins/extendify/3.2.1/code/src/Assist/page.js
- Raw: https://pluginprobe.com/plugins/extendify/3.2.1/raw/src/Assist/page.js
- Modified: 2026-02-18T22:27:14+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/extendify/3.2.1/code/src/Assist/page.js#L10-L20`.

```javascript
import { AssistLandingPage } from '@assist/AssistLandingPage';
import { createRoot, render as renderDeprecated } from '@wordpress/element';
import { __ } from '@wordpress/i18n';
import '@assist/assist.css';

const render = (component, node) => {
	if (typeof createRoot !== 'function') {
		renderDeprecated(component, node);
		return;
	}
	createRoot(node).render(component);
};

const init = () => {
	const assistPage = document.getElementById('extendify-assist-landing-page');
	if (!assistPage) return;
	// append skip link to get here
	document
		.querySelector('.screen-reader-shortcut')
		.insertAdjacentHTML(
			'afterend',
			`<a href="#extendify-assist-landing-page" class="screen-reader-shortcut">${__(
				'Skip to Assist',
				'extendify-local',
			)}</a>`,
		);
	render(<AssistLandingPage />, assistPage);
};
init();

```
