Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removal of JQuery to Vue's reactives #433

Open
niladrix719 opened this issue Jan 25, 2025 · 5 comments · May be fixed by #440, #441 or #446
Open

Removal of JQuery to Vue's reactives #433

niladrix719 opened this issue Jan 25, 2025 · 5 comments · May be fixed by #440, #441 or #446
Labels
good first issue Good for newcomers

Comments

@niladrix719
Copy link
Member

niladrix719 commented Jan 25, 2025

Large part of the JQuery already has been removed, now its the time to remove the rest

Edit: Both JQuery and DOM manipulations logic should be moved to respective vue components and migrated to vue's reactives

Note: Pull requests should be made for each files separately feel free to open pull requests

@niladrix719 niladrix719 added the good first issue Good for newcomers label Jan 25, 2025
@advait-zx
Copy link

where's the file/folder

@niladrix719
Copy link
Member Author

niladrix719 commented Jan 25, 2025

@advait-zx you can search for jQuery $(' in the project using you code editor to find the JQuery code

@ThatDeparted2061
Copy link
Contributor

@niladrix719 I don't see anymore vue files using jQuery, it's still in use in js files but that wont be replaced by vue's reactivem we'd need to use DOM

@harith-hacky03
Copy link

Hey @niladrix719,

I’ve seen several issues raised related to Vue.js and jQuery, and I believe migrating the website to React/Next.js could be a solid solution. Here are a few advantages React/Next.js offers over Vue.js:

Built-In Server-Side Rendering: Next.js provides native SSR and static site generation, which would improve both performance and SEO.

Larger Ecosystem: React has an extensive ecosystem with many third-party libraries, making it easier to implement advanced features.

Better Scalability: React’s unopinionated nature is great for building scalable and maintainable projects.

Performance Optimization: Features like automatic code splitting in Next.js enhance load times and overall performance.

Stronger Community Support: React has a larger community, offering better resources and support for development.

I’m ready to take on the migration and ensure everything works seamlessly with an improved experience. Let me know if I should proceed!

@code-x-r
Copy link

Hey @niladrix719, please assign these issues to me.

@harith-hacky03
Vue is not just an alternative but the better-suited choice for CircuitVerse because it:
-> Already fits into the existing tech stack (less rewriting needed).
-> Provides better DX with intuitive syntax and simpler state management.
-> Has Nuxt.js for SSR, making SEO concerns irrelevant.
-> Offers built-in optimizations, reducing dependency bloat.

Instead of shifting to React/Next.js, the focus should be on replacing jQuery with Vue-based solutions to improve consistency and maintainability. This would be easier and faster to do than migrating the whole codebase to react/next.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment