Comments (1)
It would be better to remove the .js suffixes from the utils and import them from ./theme
This is true for older versions of js/ts (which you might be forced to use with something like next.js), but in newer versions of js/ts, file extensions are preferred and partially necessary:
Relative import paths need full extensions (we have to write import "./foo.js" instead of import "./foo").
https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-7.html#type-in-packagejson-and-new-extensions
I might start working on a CLI that asks the user/detects the preferred js/ts style, but I also hope tools and users move towards the new ESM standard so libraries can stop supporting to standards.
from uikit.
Related Issues (20)
- Build for CommonJS? HOT 6
- Feature Request: Add Vanilla Three.js Output Option to HTML23 App
- Examples and Fonts not found HOT 6
- Strange Spacing with Custom Fonts
- Input unfocus function HOT 1
- Custom Font Struggle: Dependecies in "msdf-bmfont-xml"-Tutorial hard to install while the orginal "drei" <Text> won't work HOT 1
- bug: Fullscreen blocks pointer events from passing through HOT 1
- Scroll not working when using forwardObjectEvents HOT 1
- Reverse painter algo not extensible
- No setter.js HOT 2
- Access caret position for auto scrolling inputs
- Error when remounting containers HOT 1
- Simple JavaScript Alternative to UIKit Without TypeScript and JSX HOT 1
- Maximum Call Stack Sized Exceed when using TransformControls inside of Content HOT 2
- Library unsupported in ios safari <16.3, dependency on `tw-to-css` which has an unsupported regex HOT 1
- display none should set pointer-events to none
- Input element causes gap to appear at bottom of page (Firefox) HOT 1
- React Native failed ios build @react-three/uikit HOT 2
- Scrolling for column-reverse & row-reverse flex-direction
- Issues with the vanilla docs HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uikit.