CARVIEW |
Select Language
HTTP/2 200
date: Wed, 23 Jul 2025 22:07:35 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
etag: W/"533a2b07555e9c4598a94942cca8142c"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=LCOiZZgFhb%2BSx0KUTt3m5Q%2F2o%2FKAVSTqO%2Fw1KNXJwNUa%2FEGdXkjypIUoYbaXTHpAbffwdexe3qc%2B9WJAx25Mf7juvk8p8GbuhvjRG3RcF3jj49G%2F3%2FrptmrYSgDcovJmXZeNyD2nNeaMh6Tu9Edsy%2B4XIBJ5YYhxAD%2FXWdMHWH92RFrr4Cund4NKRn6fTT4ZkjyLJNclmvwNpRVCe2jLlTBIK6G97pEc9W4eyyYfz1PbnJFSPia8C%2Bw1%2F36u1FUATdAjOvNQvTcMpriMpMiTYQ%3D%3D--y7w6Xud2WaXJCkhH--YtHlCli75bu1zsG%2BgIFXBA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.527293929.1753308454; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 22:07:34 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 22:07:34 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 81F2:23E99C:E956:16215:68815D26
Tags · styleguidist/react-styleguidist · GitHub
Toggle v13.1.4's commit message
Toggle v13.1.0-alpha1's commit message
Toggle v13.0.0's commit message
Toggle v12.0.1's commit message
Toggle v12.0.0's commit message
Toggle v11.2.0's commit message
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Tags: styleguidist/react-styleguidist
Tags
v13.1.4
fix: prevent unnecessary wrapping of single line jsx elements (#2183) When having a single line statement with an import statement everything works as expected. ```jsx import * as React from "react"; <ReactComponent />; ``` However if you remove the import statement, a semicolon `;` appears in the output. We no longer need the explicit import statements as this can be configured globally, and we have an eslint rule requiring us to close every js statement with a semicolon. ```jsx <ReactComponent />; ``` This happens because of the fix/changes done in this issue: #842, which causes every statement starting with JSX to be wrapped in a Fragment. This will cause the semicolon to be added inside the Fragment, and cause it to be rendered. This change causes the examples to only be wrapped in a Fragment if multiple jsx statements are returned on root level of the example by checking for the error before wrapping. Co-authored-by: Thomas Roest <thomas.roest@moxio.com>
v13.1.0-alpha1
Upgrade to React 18 (#2087) (#2110) Upgrade to React 18 * replace ReactDOM.render with createRoot in index.ts * fix new TS errors after upgrading @types * replace ReactDOM.render in Preview.tsx * replace ReactDOM.unmountComponentAtNode with root.unmount() * remove ReactDOM import * upgrade react testing library * replace deprecated React.SFC type with React.FC DefinitelyTyped/DefinitelyTyped#30364 * Fix TS errors in propTypes.children propTypes.node results in TS errors. There doesn't seem to be a good alternative ( other than making the children propTypes more strict, which could result more errors) Instead use something less restrictive (propTypes.any) for children and components. * fix TS errors, extract props interfaces with children * fix TS errors, add context types * TS fix * Fix React unmount error Unmount asynchronously with setTimout https://stackoverflow.com/questions/73459382/react-18-async-way-to-unmount-root error message: Warning: Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition. * make wrapper unmount test async --------- Co-authored-by: Thomas Roest <thomas.roest@moxio.com>
v13.0.0
Upgrade to React 17 (#2037) * upgrade react core depedencies to React 17 * Upgrade react-simple-code-editor and remove enzyme react 16 adapter * replace enzyme adapter react * Fix: fix failing Editor test * Chore: update dependencies in examples/basic BREAKING CHANGE: React 16 no longer supported
v12.0.1
fix: ensure devserver client options are configurable (#2034) * fix: ensure devserver client options are configurable When a custom `webpackConfig.devServer.client` option is set, they are currently being overridden by the `baseConfig.client` field. Ensure that field is extendible by consumers while also ensuring the base config values stay fixed. #2033 * fix: ensure all devServer options are overridable; add tests
v12.0.0
feat: Upgrade to Webpack 5 (#1996) This is a start for upgrading to webpack 5 and webpack-dev-server ^4. With these changes, the basic examples are working ( incl. hot module reloading ). But there are more todo's left * update dev-server config * make StyleguidistOptionsPlugin.ts work with webpack 5 and fix test * fix make-webpack-config.spec.ts tests * upgrade other webpack loader dependencies to latests versions (optional?) * fix type errors * fix deprecation warnings Fixes #1932 BREAKING CHANGE: Webpack 4 is no longer supported.
v11.2.0
feat: Webpack 5 support (#1903) * Upgrade react-dev-utils to latest version v12 (supports Webpack 5) * Fix Webpack example for local testing * Upgrade webpack related dependencies for maintenance: webpack, webpack-cli, and webpack-dev-server * Remove unnecessary Webpack configuration around Hot Module Replacement. webpack-dev-server should automatically inject HMR related configurations already Closes #1703 Closes #1864 Closes #1740 Closes #1822 Closes #1786
PreviousNext
You can’t perform that action at this time.