@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 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
@@ -1,6 +1,12 @@
1
1
  import Ryunix from "./dom";
2
2
 
3
- export { useStore, useEffect, createContext, useContext } from "./dom";
3
+ export {
4
+ useStore,
5
+ useEffect,
6
+ createContext,
7
+ useContext,
8
+ Fragments,
9
+ } from "./dom";
4
10
 
5
11
  window.Ryunix = Ryunix;
6
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unsetsoft/ryunixjs",
3
- "version": "0.2.27-nightly.0",
3
+ "version": "0.2.27-nightly.2",
4
4
  "license": "MIT",
5
5
  "main": "./dist/Ryunix.js",
6
6
  "private": false,