wicg / async-append Goto Github PK
View Code? Open in Web Editor NEWA way to create DOM and add it to the document without blocking the main thread.
License: Other
A way to create DOM and add it to the document without blocking the main thread.
License: Other
ex. a library will need to null check the batch and the arguments which is weird.
append(element, batch)
means a library like:
doSomething(optional batch = null)
could exist without using apply() and prepending the batch if it's not null.
Can we spec both rest arguments for the start followed by batch?
ex.
asyncAppend(Node... node, DOMBatch = null)
not sure what webidl allows.
@tabatkins added a bunch of states that are strings, maybe we should just expose those instead of a boolean for started?
This repo hasn't had much activity for a long time... would it be ok to archive this?
@wycats has done a lot of investigation into what are the primitive DOM operations necessary to build up a tree, as part of whatwg/dom#270.
This proposal so far has:
(I think maybe append and prepend could be reduced to insertBefore in theory.)
It is missing the following:
There is also the following non-primitive but convenient operation:
<template>.content
and insertBefore on the resulting DocumentFragment)A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.