@unsetsoft/ryunixjs 0.2.27-nightly.0 → 0.2.27-nightly.2
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/lib/dom.js +2 -10
- package/lib/main.js +7 -1
- package/package.json +1 -1
package/lib/dom.js
CHANGED
|
@@ -445,10 +445,8 @@ function createContext(defaultValue) {
|
|
|
445
445
|
return context;
|
|
446
446
|
}
|
|
447
447
|
|
|
448
|
-
const FRAGMENT_SYMBOL = Symbol.for("ryunix.fragments");
|
|
449
|
-
|
|
450
448
|
function Fragments(props) {
|
|
451
|
-
return props.children;
|
|
449
|
+
return createElement("div", props, props.children);
|
|
452
450
|
}
|
|
453
451
|
|
|
454
452
|
// Hooks
|
|
@@ -565,13 +563,7 @@ function useEffect(effect, deps) {
|
|
|
565
563
|
|
|
566
564
|
// export
|
|
567
565
|
|
|
568
|
-
export {
|
|
569
|
-
useStore,
|
|
570
|
-
useEffect,
|
|
571
|
-
createContext,
|
|
572
|
-
useContext,
|
|
573
|
-
FRAGMENT_SYMBOL as Fragments,
|
|
574
|
-
};
|
|
566
|
+
export { useStore, useEffect, createContext, useContext, Fragments };
|
|
575
567
|
|
|
576
568
|
export default {
|
|
577
569
|
createElement,
|
package/lib/main.js
CHANGED