mirror of
https://github.com/laurent22/joplin.git
synced 2026-10-25 02:47:28 +00:00
8 lines
280 B
TypeScript
8 lines
280 B
TypeScript
import shim from '@joplin/lib/shim';
|
|
|
|
// .setReact needs to be called very early in the application startup process.
|
|
// This file can be imported to ensure that .setReact and .setReactDom have been called.
|
|
shim.setReact(require('react'));
|
|
shim.setReactDom(require('react-dom'));
|
|
|