lilact 0.27.0 → 0.27.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 (36) hide show
  1. package/dist/lilact.development.js +18 -15
  2. package/dist/lilact.development.js.map +3 -3
  3. package/dist/lilact.development.min.js +6 -6
  4. package/dist/lilact.development.min.js.map +3 -3
  5. package/dist/lilact.production.min.js +6 -6
  6. package/docs/functions/hooks.createContext.html +1 -1
  7. package/docs/functions/hooks.startTransition.html +1 -1
  8. package/docs/functions/hooks.useActionState.html +1 -1
  9. package/docs/functions/hooks.useContext.html +1 -1
  10. package/docs/functions/hooks.useDebugValue.html +1 -1
  11. package/docs/functions/hooks.useDeferredValue.html +1 -1
  12. package/docs/functions/hooks.useEffect.html +1 -1
  13. package/docs/functions/hooks.useId.html +1 -1
  14. package/docs/functions/hooks.useImperativeHandle.html +1 -1
  15. package/docs/functions/hooks.useInsertionEffect.html +1 -1
  16. package/docs/functions/hooks.useLayoutEffect.html +1 -1
  17. package/docs/functions/hooks.useLocalStorage.html +1 -1
  18. package/docs/functions/hooks.useMemo.html +1 -1
  19. package/docs/functions/hooks.useReducer.html +1 -1
  20. package/docs/functions/hooks.useRef.html +1 -1
  21. package/docs/functions/hooks.useTransition.html +1 -1
  22. package/docs/functions/run.runScripts.html +1 -1
  23. package/docs/static/lilact.development.js +18 -15
  24. package/docs/static/lilact.development.js.map +3 -3
  25. package/docs/static/lilact.development.min.js +6 -6
  26. package/docs/static/lilact.development.min.js.map +3 -3
  27. package/docs/static/lilact.production.min.js +6 -6
  28. package/examples/lilact.development.js +18 -15
  29. package/examples/lilact.development.js.map +3 -3
  30. package/examples/lilact.development.min.js +6 -6
  31. package/examples/lilact.development.min.js.map +3 -3
  32. package/examples/lilact.production.min.js +6 -6
  33. package/package.json +1 -1
  34. package/src/hooks.jsx +29 -9
  35. package/src/lilact.jsx +4 -2
  36. package/src/run.jsx +2 -2
package/src/run.jsx CHANGED
@@ -361,9 +361,9 @@ function scriptTags() {
361
361
  }));
362
362
  }
363
363
 
364
- export function runScripts() {
364
+ export async function runScripts() {
365
365
  for (const script of scriptTags()) {
366
- if (script.src) require(script.src);
366
+ if (script.src) await require(script.src);
367
367
  if (script.content) run(script.content);
368
368
  }
369
369
  }