esoftplay 0.0.136-w → 0.0.136-x

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/bin/router.js +2 -4
  2. package/package.json +1 -1
package/bin/router.js CHANGED
@@ -282,11 +282,9 @@ export * as ${ucword(module) + ucword(task) + SuffixHooksProperty} from '../../.
282
282
  }
283
283
  if (HookModules.includes(nav)) {
284
284
  item += "" +
285
- "import React from 'react'\n" +
286
- "const _" + ucword(module) + ucword(task) + " = React.lazy(() => import('../../../../." + Modules[module][task] + "')); \n" +
285
+ "import _" + ucword(module) + ucword(task) + " from '../../../../." + Modules[module][task] + "'; \n" +
287
286
  "import * as " + ucword(module) + ucword(task) + SuffixHooksProperty + " from '../../../../." + Modules[module][task] + "';\n" +
288
- "const UpdatedComponent = (OriginalComponent) => { function " + ucword(module) + ucword(task) + "Component(props) { return ( <React.Suspense><OriginalComponent {...props} /></React.Suspense> ) } return " + ucword(module) + ucword(task) + "Component; };\n" +
289
- "const " + ucword(module) + ucword(task) + " = stable(UpdatedComponent(_" + ucword(module) + ucword(task) + ")); \n" +
287
+ "const " + ucword(module) + ucword(task) + " = stable(_" + ucword(module) + ucword(task) + "); \n" +
290
288
  "export { " + ucword(module) + ucword(task) + SuffixHooksProperty + ", " + ucword(module) + ucword(task) + " };\n"
291
289
  } else if (UseLibs.includes(nav)) {
292
290
  item += "" +
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "esoftplay",
3
- "version": "0.0.136-w",
3
+ "version": "0.0.136-x",
4
4
  "description": "embedding data from esoftplay framework (web based) into mobile app",
5
5
  "main": "cache/index.js",
6
6
  "types": "../../index.d.ts",