wip(ssr): vdom serialization
This commit is contained in:
@@ -1,29 +1,19 @@
|
||||
describe('ssr: render props', () => {
|
||||
test('class', () => {})
|
||||
|
||||
test('styles', () => {
|
||||
test('style', () => {
|
||||
// only render numbers for properties that allow no unit numbers
|
||||
})
|
||||
|
||||
describe('attrs', () => {
|
||||
test('basic', () => {})
|
||||
test('normal attrs', () => {})
|
||||
|
||||
test('boolean attrs', () => {})
|
||||
test('boolean attrs', () => {})
|
||||
|
||||
test('enumerated attrs', () => {})
|
||||
test('enumerated attrs', () => {})
|
||||
|
||||
test('skip falsy values', () => {})
|
||||
})
|
||||
test('ignore falsy values', () => {})
|
||||
|
||||
describe('domProps', () => {
|
||||
test('innerHTML', () => {})
|
||||
test('props to attrs', () => {})
|
||||
|
||||
test('textContent', () => {})
|
||||
|
||||
test('textarea', () => {})
|
||||
|
||||
test('other renderable domProps', () => {
|
||||
// also test camel to kebab case conversion for some props
|
||||
})
|
||||
})
|
||||
test('ignore non-renderable props', () => {})
|
||||
})
|
||||
|
||||
@@ -1,17 +1,31 @@
|
||||
// import { renderToString, renderComponent } from '../src'
|
||||
|
||||
describe('ssr: renderToString', () => {
|
||||
test('basic', () => {})
|
||||
describe('elements', () => {
|
||||
test('text children', () => {})
|
||||
|
||||
test('nested components', () => {})
|
||||
test('array children', () => {})
|
||||
|
||||
test('nested components with optimized slots', () => {})
|
||||
test('void elements', () => {})
|
||||
|
||||
test('mixing optimized / vnode components', () => {})
|
||||
test('innerHTML', () => {})
|
||||
|
||||
test('nested components with vnode slots', () => {})
|
||||
test('textContent', () => {})
|
||||
|
||||
test('async components', () => {})
|
||||
test('textarea value', () => {})
|
||||
})
|
||||
|
||||
test('parallel async components', () => {})
|
||||
describe('components', () => {
|
||||
test('nested components', () => {})
|
||||
|
||||
test('nested components with optimized slots', () => {})
|
||||
|
||||
test('mixing optimized / vnode components', () => {})
|
||||
|
||||
test('nested components with vnode slots', () => {})
|
||||
|
||||
test('async components', () => {})
|
||||
|
||||
test('parallel async components', () => {})
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user