Which package?
@termuijs/jsx
What happened?
@termuijs/jsx attempts to re-export useInterval in packages/jsx/src/index.ts from ./hooks.js. However, packages/jsx/src/hooks.ts does not contain an implementation or export for useInterval.
Importing useInterval directly from @termuijs/jsx fails at runtime/module-import with a missing export error.
Steps to reproduce
import { useInterval } from '@termuijs/jsx';
function TimerComponent() {
useInterval(() => {
console.log('tick');
}, 1000);
return null;
}
## GSSoC contributor?
- [x] Yes. You contribute under GSSoC 2026 and want to work on this.
Which package?
@termuijs/jsxWhat happened?
@termuijs/jsxattempts to re-exportuseIntervalinpackages/jsx/src/index.tsfrom./hooks.js. However,packages/jsx/src/hooks.tsdoes not contain an implementation or export foruseInterval.Importing
useIntervaldirectly from@termuijs/jsxfails at runtime/module-import with a missing export error.Steps to reproduce