-
Notifications
You must be signed in to change notification settings - Fork 11
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
Use Vite and cleanup some old deps for frontend #61
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hugo-vrijswijk
changed the title
Use Vite and remove some old deps
Use Vite and remove cleanup old deps
May 5, 2023
hugo-vrijswijk
changed the title
Use Vite and remove cleanup old deps
Use Vite and cleanup some old deps
May 5, 2023
hugo-vrijswijk
changed the title
Use Vite and cleanup some old deps
Use Vite and cleanup some old deps for frontend
May 5, 2023
aetaric
approved these changes
May 5, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey, thanks for this PR! I'm definitely not a JS or TS dev, so I have little working knowledge of what direction the community is going. Code tested and verified on the major browsers. Will merge to main (it won't hit a release until 3.1.3).
aetaric
pushed a commit
that referenced
this pull request
May 5, 2023
* Replace react-scripts with vite * Clean up some packages * Replace moment with date-fns * Move schedule text * Cleanup effects
aetaric
added a commit
that referenced
this pull request
Jun 2, 2023
* Swap address logic to use generic strings instead of IPs * Bump github.com/gin-gonic/gin from 1.8.2 to 1.9.0 (#60) Bumps [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin) from 1.8.2 to 1.9.0. - [Release notes](https://github.com/gin-gonic/gin/releases) - [Changelog](https://github.com/gin-gonic/gin/blob/master/CHANGELOG.md) - [Commits](gin-gonic/gin@v1.8.2...v1.9.0) --- updated-dependencies: - dependency-name: github.com/gin-gonic/gin dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Use Vite and cleanup some old deps for frontend (#61) * Replace react-scripts with vite * Clean up some packages * Replace moment with date-fns * Move schedule text * Cleanup effects * equalfold file extension and ignore extension in ignore check --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Hugo van Rijswijk <git@hugovr.nl>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Create-react-app is deprecated and not maintained anymore, the community is moving to vite. Vite also should speed up the build a little bit.
Other changes:
useEffect
returns a clean-up function to clear the interval (prevents leakage when dismounting the component)createRoot
instead ofReactDOM.render
which puts React into compatibility mode