Skip to content

Commit

Permalink
Add updateDom
Browse files Browse the repository at this point in the history
  • Loading branch information
pomber committed Jul 23, 2019
1 parent 308f311 commit ba422c1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions didact.js
Original file line number Diff line number Diff line change
@@ -38,6 +38,10 @@ function createDom(fiber) {
return dom
}

function updateDom(dom, prevProps, nextProps) {
// TODO
}

function commitRoot() {
deletions.forEach(commitWork)
commitWork(wipRoot.child)

0 comments on commit ba422c1

Please sign in to comment.