File tree 4 files changed +6
-6
lines changed
diffhtml-middleware-linter
diffhtml-middleware-logger
diffhtml-middleware-service-worker
4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
- export * from './dist/es/index.js' ;
1
+ export { default } from './dist/es/index.js' ;
Original file line number Diff line number Diff line change 1
- export * from './dist/es/index.js' ;
1
+ export { default } from './dist/es/index.js' ;
Original file line number Diff line number Diff line change 1
- export * from './dist/es/index.js' ;
1
+ export { default } from './dist/es/index.js' ;
Original file line number Diff line number Diff line change 2
2
3
3
A core feature of diffHTML is the HTML/XML/SVG parser. This is used whenever
4
4
you pass a string of markup or [ use the html tagged template] ( /api.html#html )
5
- to [ innerHTML] ( /api.html#inner-html ) /[ outerHTML] ( /api.html#ouuter-html ) . This
6
- works very similar to JSX where you are able to optimize away the parser. While
5
+ to [ innerHTML] ( /api.html#inner-html ) /[ outerHTML] ( /api.html#ouuter-html ) . While
7
6
this code is optimized specifically for the VDOM and is very fast, you may want
8
- to optimize out the markup using the Babel plugin.
7
+ to optimize out the parser using the [ Babel
8
+ plugin] ( /tools.html#babel-transform ) .
9
9
10
10
The parser can read full HTML documents including doctype, html/head/body/title
11
11
etc tags, unwrapped fragments, and more!
You can’t perform that action at this time.
0 commit comments