Skip to content

[jp-sync] fix(jp/react): update query builder React snippets to functional components#425

Open
github-actions[bot] wants to merge 1 commit into
vnextfrom
jp-sync/query-builder-react-snippets-1c7ceaf0e7adef54
Open

[jp-sync] fix(jp/react): update query builder React snippets to functional components#425
github-actions[bot] wants to merge 1 commit into
vnextfrom
jp-sync/query-builder-react-snippets-1c7ceaf0e7adef54

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Original author: Hristo Hristov 57346540+Hristo313@users.noreply.github.com

Syncs the Japanese documentation with the English changes from PR #403 (hhristov/fix-query-builder-react-snippets).

Changes

English file Japanese counterpart
docs/xplat/src/content/en/components/inputs/query-builder.mdx docs/xplat/src/content/jp/components/inputs/query-builder.mdx

Summary

Updated React code examples in the JP query-builder documentation to match the updated EN source. The changes convert class-based component patterns to modern functional component patterns:

  • Replaced class fields and constructor with useRef and const declarations
  • Replaced componentDidMount / componentWillUnmount with useEffect and cleanup teardown function
  • Updated private buildXxx = ... class methods to const buildXxx = ... function declarations
  • Replaced this.xxx references with plain variable/ref references
  • Updated event handlers: change=onChange=, input=onInput=
  • Updated sender.value to sender.detail / sender.detail.value for React event patterns
  • Removed the click= handler from IgrDatePicker
  • Updated formatter code block from ```ts to ```tsx and this.ordersFields = to const ordersFields =
  • Updated Japanese prose description for ExpressionTree to reflect useEffect-based registration instead of componentDidMount/componentWillUnmount

Generated by Sync Japanese Documentation (xplat) · 106.7 AIC · ⌖ 11.5 AIC · ⊞ 8.1K ·

…onents

Sync Japanese documentation with English changes from PR #403.
Updated React code examples from class-based to functional component
patterns using useRef, useEffect, and modern event handler conventions.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant