@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/package.json
CHANGED
package/standalone.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from "./crank.js";
|
|
2
|
-
export
|
|
2
|
+
export { jsx } from "./jsx-tag.js";
|
package/umd.js
CHANGED
|
@@ -1238,10 +1238,6 @@
|
|
|
1238
1238
|
function updateComponent(renderer, root, host, parent, scope, ret, oldProps, hydrationData) {
|
|
1239
1239
|
let ctx;
|
|
1240
1240
|
if (oldProps) {
|
|
1241
|
-
// TODO: we should probably use the existence of ret.ctx
|
|
1242
|
-
if (ret.ctx == null) {
|
|
1243
|
-
throw new Error("Hmmm");
|
|
1244
|
-
}
|
|
1245
1241
|
ctx = ret.ctx;
|
|
1246
1242
|
if (ctx.f & IsSyncExecuting) {
|
|
1247
1243
|
console.error("Component is already executing");
|