import React from 'react' ; import ReactDOM from 'react-dom' ; import { exp } from './experimental' ; import { printProcessLogLevelInfo } from '../shared/logger' ; import App from './App' ; import { runtime } from './runtime' ; import init from '@deltachat/message_parser_wasm' ; async function main ( ) { exp . help ; try { runtime . initialize ( ) ; printProcessLogLevelInfo ( ) ; await init ( './message_parser_wasm_bg.wasm' ) ; ReactDOM . render ( < App />, document.querySelector('#root')); } catch ( error ) { document . write ( 'Error while initialisation, please contact developers and look into the dev console for details:' + error ) ; throw error ; } } main ( ) ;