abpframework / abpframework/abp

MVC UI: decouple jQuery

Open
#17,093 9 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

breaking change feature priority:normal ui-mvc
Dominant language
C#
Stars
14.4k
Forks
3.7k
Avg merge
15h 32m
Merged PRs (30d)
106

Description

Due to historical reasons, ASP.NET MVC (released Q4 2007) is almost "tightened" to jQuery (released mid 2006).
Fast forward 15+ years later, pure javascript progressed so much that sometimes jQuery is not needed anymore in some projects.

Would be possible to decouple jQuery at least from LeptonX (and LeptonX-Lite)?
It would also be recommended, that Javascript API (https://docs.abp.io/en/abp/latest/UI/AspNetCore/JavaScript-API/Ajax) would ditch jQuery and implement methods based on modern pure javascript.

Of course, a user could include jQuery in the abp project (but jQuery would not be included when abp project would be generated.

What do you think @hikalkan and @maliming?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the LeptonX and LeptonX-Lite UI areas and the documented JavaScript API, especially the Ajax API. Define the scope for removing the jQuery dependency and verify that generated ABP projects no longer include jQuery while the API works with modern JavaScript.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, jquery
Domain
api, frontend, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.