Auto Prefixing

1import React from 'react';
2import ReactDOM from 'react-dom';
3import { StyleSheetProvider } from '@filbert-js/style-sheet-context';
4import { createParser } from '@filbert-js/css-parser';
5import { createStylesheet } from '@filbert-js/browser-stylesheet';
6import { prefix } from '@filbert-js/autoprefixer';
7import { App } from './App';
8import ReactDOM from 'react-dom';
9
10const cssParser = createParser({ prefix });
11const stylesheet = createStylesheet({ cssParser });
12
13ReactDOM.render(
14 <React.StrictMode>
15 <StyleSheetProvider stylesheet={stylesheet}>
16 <App />
17 </StyleSheetProvider>
18 </React.StrictMode>,
19 document.getElementById('root'),
20);