@unsetsoft/ryunixjs 0.2.26 → 0.2.27-nightly.1

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.
Files changed (2) hide show
  1. package/lib/dom.js +6 -1
  2. package/package.json +1 -1
package/lib/dom.js CHANGED
@@ -445,6 +445,10 @@ function createContext(defaultValue) {
445
445
  return context;
446
446
  }
447
447
 
448
+ function Fragments(props) {
449
+ return createElement("div", props, props.children);
450
+ }
451
+
448
452
  // Hooks
449
453
 
450
454
  /**
@@ -559,11 +563,12 @@ function useEffect(effect, deps) {
559
563
 
560
564
  // export
561
565
 
562
- export { useStore, useEffect, createContext, useContext };
566
+ export { useStore, useEffect, createContext, useContext, Fragments };
563
567
 
564
568
  export default {
565
569
  createElement,
566
570
  render,
567
571
  createRoot,
568
572
  init,
573
+ Fragments,
569
574
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unsetsoft/ryunixjs",
3
- "version": "0.2.26",
3
+ "version": "0.2.27-nightly.1",
4
4
  "license": "MIT",
5
5
  "main": "./dist/Ryunix.js",
6
6
  "private": false,