@b9g/crank 0.5.0-beta.7 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -17
- package/crank.cjs +0 -4
- package/crank.cjs.map +1 -1
- package/crank.js +0 -4
- package/crank.js.map +1 -1
- package/package.json +1 -1
- package/standalone.d.ts +1 -1
- package/umd.js +0 -4
- package/umd.js.map +1 -1
package/crank.js
CHANGED
|
@@ -1233,10 +1233,6 @@ function ctxContains(parent, child) {
|
|
|
1233
1233
|
function updateComponent(renderer, root, host, parent, scope, ret, oldProps, hydrationData) {
|
|
1234
1234
|
let ctx;
|
|
1235
1235
|
if (oldProps) {
|
|
1236
|
-
// TODO: we should probably use the existence of ret.ctx
|
|
1237
|
-
if (ret.ctx == null) {
|
|
1238
|
-
throw new Error("Hmmm");
|
|
1239
|
-
}
|
|
1240
1236
|
ctx = ret.ctx;
|
|
1241
1237
|
if (ctx.f & IsSyncExecuting) {
|
|
1242
1238
|
console.error("Component is already executing");
|