# elasticpress/5.3.5/assets/js/ordering/index.js

ElasticPress, version 5.3.5. 19 lines.

- Page: https://pluginprobe.com/plugins/elasticpress/5.3.5/code/assets/js/ordering/index.js
- Raw: https://pluginprobe.com/plugins/elasticpress/5.3.5/raw/assets/js/ordering/index.js
- Modified: 2023-08-10T17:15:40+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/elasticpress/5.3.5/code/assets/js/ordering/index.js#L10-L20`.

```javascript
/**
 * WordPress dependencies.
 */
import { createRoot, render } from '@wordpress/element';

/**
 * Internal dependencies.
 */
import { Pointers } from './pointers';

const el = document.getElementById('ordering-app');

if (typeof createRoot === 'function') {
	const root = createRoot(el);
	root.render(<Pointers />);
} else {
	render(<Pointers />, el);
}

```
