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

SolidJS and Vite Migration #45

Merged
merged 17 commits into from
Jul 3, 2024
Merged

SolidJS and Vite Migration #45

merged 17 commits into from
Jul 3, 2024

Conversation

lauslim12
Copy link
Owner

Description

Implemented migration from Next.js to fully client-side Solid.js for performance and lighter bundle size. Speednote is a PWA, so technically server-rendered components are not that necessary.

Properly utilized ESLint and Prettier with more declarative configuration and regular expressions.

Migrated the bundler to use Vite so that it supports SolidJS out of the box. It's much faster and less overkill compared to Webpack.

Behavior

Some Zod schemas are simplified and utilizing createStore to store a complex object.

Tests

Removes the mocks caused by Next.js dependencies, and utilizes more "natural mocks" which are caused by JSDOM's limitations.

Issue

Resolves #24.

@lauslim12 lauslim12 merged commit 97b1841 into main Jul 3, 2024
2 checks passed
@lauslim12 lauslim12 deleted the 24-solidjs-and-vite-migration branch July 3, 2024 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Vite and SolidJS Migration
1 participant