@rectify-dev/core 2.0.0 → 2.0.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.
package/dist/index.js CHANGED
@@ -1,5 +1,7 @@
1
- import { __name, isFunction, shallowEqual, createElementFromRectifyNode, isValidRectifyElement, isArray, isPlainObject, omit, RECTIFY_FRAGMENT_TYPE, RECTIFY_TEXT_TYPE, RECTIFY_ELEMENT_TYPE } from './chunk-3ZHJJ32B.js';
2
- export { Fragment, jsx } from './chunk-3ZHJJ32B.js';
1
+ import { __name } from './chunk-2FA4QXYL.js';
2
+ export { Fragment, jsx } from './chunk-2FA4QXYL.js';
3
+ import { isFunction, shallowEqual, createElementFromRectifyNode, isValidRectifyElement, isArray, isPlainObject, omit, RECTIFY_FRAGMENT_TYPE, RECTIFY_TEXT_TYPE, RECTIFY_ELEMENT_TYPE } from '@rectify-dev/shared';
4
+ export { FC } from '@rectify-dev/shared';
3
5
 
4
6
  // ../rectify-dom-binding/src/events/RectifyEventRegistry.ts
5
7
  var allNativeEvents = /* @__PURE__ */ new Set();
@@ -262,8 +264,6 @@ var HostRoot = /* @__PURE__ */ Symbol.for("rectify.host_root");
262
264
  var FragmentComponent = /* @__PURE__ */ Symbol.for("rectify.fragment_component");
263
265
  var ContextProvider = /* @__PURE__ */ Symbol.for("rectify.context_provider");
264
266
  var MemoComponent = /* @__PURE__ */ Symbol.for("rectify.memo_component");
265
-
266
- // ../rectify-reconciler/src/RectifyFiberService.ts
267
267
  var addFlagToFiber = /* @__PURE__ */ __name((fiber, flag) => {
268
268
  if (hasFlagOnFiber(fiber, flag)) return;
269
269
  fiber.flags |= flag;
@@ -473,8 +473,6 @@ var withHooks = /* @__PURE__ */ __name((wip, Component) => {
473
473
  }, "NewComponent");
474
474
  return NewComponent;
475
475
  }, "withHooks");
476
-
477
- // ../rectify-hook/src/RectifyHookUseState.ts
478
476
  var getInitialState = /* @__PURE__ */ __name((initialState) => isFunction(initialState) ? initialState() : initialState, "getInitialState");
479
477
  var getState = /* @__PURE__ */ __name((update, prevState) => isFunction(update) ? update(prevState) : update, "getState");
480
478
  function useState(initialState) {