Skip to content

React Native - Update SDK to 4.11, enable strict mode, update README file, lint #113

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

biozal
Copy link
Contributor

@biozal biozal commented Jul 28, 2025

📌 Linear Ticket

Please include a link to the corresponding Linear issue:

https://linear.app/ditto/issue/MAR-161/update-quickstarts-to-4111-and-set-dql-strict-mode-=-false

Example: https://linear.app/ditto/issue/ABC-1234/short-description-here


📝 Description of the Change

  • Updates the Ditto SDK to 4.11.1
  • Sets Strict Mode to equal false
  • Updated the README file with links to the proper SDK version and links to documentation so it matches the other Quickstarts
  • Updated React Dependencies so that they match with the major version defined
  • Ran prettier on files for linting

Provide a concise summary of what this PR does.
Include context, reasoning behind the change, and any relevant implementation details.


🧪 Local Testing Summary

Please indicate which platforms this change was tested on:

  • Windows
  • macOS
  • Linux x86
  • Linux ARM

Please indicate if you tested on emulator, simulator, or physical mobile devices:

  • Emulator
  • Simulator
  • Virtual Machine
  • Physical Device

✅ Reminder: You are responsible for testing this change on all platforms the application supports.
If you are unable to test on a platform, please coordinate with another team member or request assistance.


📷 Screenshots (if applicable)

Add screenshots or demo gifs/videos if this PR includes UI changes or notable behavior differences.

No UI changes made.

@Copilot Copilot AI review requested due to automatic review settings July 28, 2025 15:24
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the React Native quickstart to use Ditto SDK 4.11.1, disables DQL strict mode, and applies code formatting improvements. The changes align the project with the latest SDK version and standardize the codebase formatting.

  • Updated Ditto SDK from 4.10.2 to 4.11.1 and React Native CLI tools to version 19.0.0
  • Disabled DQL strict mode by setting DQL_STRICT_MODE = false
  • Applied consistent code formatting using Prettier across all TypeScript/JSX files

Reviewed Changes

Copilot reviewed 9 out of 14 changed files in this pull request and generated no comments.

Show a summary per file
File Description
package.json Updates Ditto SDK to 4.11.1 and React Native CLI tools to 19.0.0
App.tsx Adds DQL strict mode configuration and applies code formatting improvements
README.md Adds documentation links for SDK 4.11.1 and improves formatting
TaskDone.tsx Converts TypeScript interface syntax from commas to semicolons
NewTaskModal.tsx Improves import formatting and converts interface syntax
Fab.tsx Breaks long import statement into multiple lines
EditTaskModal.tsx Applies formatting to imports, interfaces, and function parameters
DittoSync.tsx Removes parentheses around arrow function parameter
DittoInfo.tsx Converts TypeScript interface syntax from commas to semicolons
Comments suppressed due to low confidence (1)

react-native/README.md:13

  • The API reference URL includes version 4.11.1 in the path. Please verify this versioned URL exists, as API documentation URLs may not follow this exact pattern.
- [Javascript/React Native API Reference](https://software.ditto.live/js/Ditto/4.11.1/api-reference/)

@biozal biozal self-assigned this Jul 28, 2025
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.

1 participant