1.0.1-alpha • Published 1 year ago
unjquery v1.0.1-alpha
unjquery
Unleash the power of modern JavaScript
- 🖼 Interactive Interface
- ⚙ Backwards Compatible
Philosophy
Warning! We rely on a heuristic that is not using variables alongside with jQuery APIs
Benefits
- Performance Boost: Eliminate the overhead of jQuery, leading to faster load times and improved responsiveness.
- Modern Standards: Align your codebase with modern JavaScript standards and best practices.
- Reduced Dependencies: Simplify your project by removing the need for the jQuery library.
Who is it for?
- Web developers: Looking to modernize their existing jQuery-based projects.
- Companies: Seeking to improve the performance and maintainability of their web applications.
- Educators and Students: Exploring the differences and advantages of vanilla JavaScript over jQuery.
Installation
For maximum compatibility, install volta on your system to get the project's node version automatically whenever you open the project with your editor.
Supported jQuery APIs
Ajax | Support | Description |
---|---|---|
.getJson() | partial |
Attributes | Support | Description |
---|---|---|
.html() | partial | |
.prop() | partial |
Core | Support | Description |
---|---|---|
$() , jQuery() | full | |
.each() | partial | |
.noop() | full | |
.pushStack() | partial |
CSS | Support | Description |
---|---|---|
.css() | partial | only string properties are supported |
.toggleClass() | partial | |
.addClass() | partial | |
.removeClass() | partial | |
.fadeIn() | partial |
Effects | Support | Description |
---|---|---|
.toggle() | partial |
Events | Support | Description |
---|---|---|
.click() | partial |
Manipulation | Support | Description |
---|---|---|
.remove() | partial | |
.text() | partial | |
.appendTo() | partial |
Traversing | Support | Description |
---|---|---|
.find() | partial | |
.end() | partial |
Limitations
- If jquery objects returned by jquery call (
$
orjQuery
) are assigned to variables, the compiler doesn't touch them. - Code generator doesn't keep the correct code lines and messes up comment lines and blocks
Tools & References
Contribution
See Contributing Guide.
License
MIT.
Problems
- breaking changes in jQuery api versions
- injecting js, css assets
- extensible core transformer
- integrating code-frame
1.0.1-alpha
1 year ago
1.0.0-alpha
1 year ago