Comparing version 1.0.3 to 1.0.4
{ | ||
"name": "boostact", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"main": "./src/index.js", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -112,2 +112,3 @@ /* eslint-disable no-restricted-syntax */ | ||
const makeVRoot = () => { | ||
/* | ||
if (typeof component?.type === "function") { | ||
@@ -121,3 +122,3 @@ const temp = component; | ||
} | ||
*/ | ||
vRoot = { | ||
@@ -354,2 +355,3 @@ type: component.type, | ||
/* | ||
const createContext = (defaultValue) => { | ||
@@ -362,3 +364,3 @@ const CURRENT_HOOK_ID = HOOK_ID++; | ||
HOOKS[CURRENT_HOOK_ID][useContext_id].value = value; | ||
return { type: "USE_CONTEXT" }; | ||
return <div></div>; | ||
}, | ||
@@ -378,3 +380,4 @@ }; | ||
}; | ||
*/ | ||
export default { render, createElement, useState, useEffect, createContext, useContext, useReducer }; | ||
module.exports = { render, createElement, useState, useEffect, useReducer }; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14703
347