FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Update scichart-react to 2.0.0-alpha.2 (Examples + react boilerplates) by jim-risen · Pull Request #296 · ABTSoftware/SciChart.JS.Examples · GitHub

Update scichart-react to 2.0.0-alpha.2 (Examples + react boilerplates) - #296

Open
jim-risen wants to merge 6 commits into
dev_v6.xfrom
JS/update-scichart-react-v2-alpha
Open

Update scichart-react to 2.0.0-alpha.2 (Examples + react boilerplates)#296
jim-risen wants to merge 6 commits into
dev_v6.xfrom
JS/update-scichart-react-v2-alpha

Conversation

Copy link
Copy Markdown
Contributor

What

  • Examples: switch from the vendored src/scichart-react stub to scichart-react@2.0.0-alpha.2 from npm (aliases commented out in tsconfig/webpack configs; stub kept in tree as fallback). Sandbox export now emits a real scichart-react version again.
  • BoilerPlates/react-vite: scichart → 6.0.0-alpha.164, scichart-react → 2.0.0-alpha.2, copy the whole _wasm folder (with stripBase — vite-plugin-static-copy v4 preserves paths otherwise), explicit chart height (2.0 disables the aspect-ratio fallback).
  • BoilerPlates/scichart-react: scichart 5.x → 6.0.0-alpha.164, scichart-react → 2.0.0-alpha.2, config= migrated to the new SciChartDeclarative component, whole-folder wasm copy, Readme restructured (initChart approach first, declarative after).
  • Example fixes surfaced by the stricter 6.0 core:
    • UsingThemeManager: custom theme is now a constructed theme instance (plain object copy was mistaken for a Builder API theme definition)
    • BuilderApi/CustomTypes: static Name was a type annotation, not an assignment — custom palette provider registered under undefined
    • BuilderApi/FullChart: raw <SciChartReact> tag in the markdown description rendered as an unknown HTML element

Verified

  • Examples client + server webpack builds pass; bundle confirmed to contain the npm package (stub markers absent)
  • Both boilerplates build; wasm files land at output root
  • chart-themes, custom-types and react-vite pages verified rendering in the browser

codesandbox Bot commented Sep 2, 2026

Copy link
Copy Markdown

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

jim-risen self-assigned this Sep 2, 2026

klishevich left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

We have got two api now SciChartReact which accepts a function and SciChartDeclarative which accepts a config object. Which one we consider to be the default? I thought that config object is default, and if it is the case I would use the old name SciChartReact for the default case

…t-react-v2-alpha

# Conflicts:
#	Examples/package-lock.json
#	Examples/package.json
This file contains hidden or 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
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.

2 participants


Back | FazBrowse Home | New Git URL