Improve Compatibility with Updated Packages and Resolve Errors in Development Setup #207
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.
Summary of Changes
1. Update
.prettierrc
Configuration for Line Endings"endOfLine": "lf"
to the.prettierrc
file.lf
, resolving errors flagged by ESLint related to incorrect line endings.2. Fix Outdated
package-lock.json
package-lock.json
file and regenerated it by runningnpm install
.3. Update to Latest Version of
react-tooltip
react-tooltip
to its latest version due to TypeScript compatibility issues.ReactTooltip
component with the newTooltip
component.4. Switch to
react-dnd
from Deprecatedreact-beautiful-dnd
react-beautiful-dnd
withreact-dnd
as per the official deprecation notice.Outstanding Issues
Type Errors with
react-awesome-query-builder/ui
We are encountering errors during development when running
npm start
. The errors are related to type problems withreact-awesome-query-builder/ui
, specifically with theBuilder
andQuery
components.Screenshots of the errors:
Steps Attempted
Updated
react-awesome-query-builder
to the latest versionStrong Type Checking
Suggested Solutions
1. Upgrade to React 18
react-awesome-query-builder/ui
functions correctly without type errors.2. Switch to
react-querybuilder
react-awesome-query-builder
if the migration to React 18 is successful.Personal Note
I am genuinely interested in the mission of Chicago PCDC and would love the opportunity to contribute more actively to this project. Thank you for considering this pull request! 😊