Title: Format code doesn't do the right thing with TSX/JSX · Issue #5925 · microsoft/TypeScript · GitHub
Open Graph Title: Format code doesn't do the right thing with TSX/JSX · Issue #5925 · microsoft/TypeScript
X Title: Format code doesn't do the right thing with TSX/JSX · Issue #5925 · microsoft/TypeScript
Description: From prencher on December 3, 2015 20:0 When formatting the following snippet: ReactDOM.render( Open Graph Description: From prencher on December 3, 2015 20:0 When formatting the following snippet: ReactDOM.render( X Description: From prencher on December 3, 2015 20:0 When formatting the following snippet: ReactDOM.render( <Router history={createHistory() }> <Route path='/' component={App}> <IndexRout...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/5925
X: @github
Domain: github.com
Links:
Viewport: width=device-width
Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Format code doesn't do the right thing with TSX/JSX","articleBody":"_From @prencher on December 3, 2015 20:0_\n\nWhen formatting the following snippet:\n\n```\nReactDOM.render(\n \u003cRouter history={createHistory() }>\n \u003cRoute path='/' component={App}>\n \u003cIndexRoute component={SplashView} />\n \u003cRoute path='home' component={HomeView} />\n \u003cRoute path='chat' component={ChatView} />\n \u003cRoute path='/chat/:contact' component={ChatView} />\n \u003c/Route>\n \u003c/Router>,\n document.getElementById('app')\n);\n```\n\nThe closing tags are not properly unindented, and outputs the following:\n\n```\nReactDOM.render(\n \u003cRouter history={createHistory() }>\n \u003cRoute path='/' component={App}>\n \u003cIndexRoute component={SplashView} />\n \u003cRoute path='home' component={HomeView} />\n \u003cRoute path='chat' component={ChatView} />\n \u003cRoute path='/chat/:contact' component={ChatView} />\n \u003c/Route>\n \u003c/Router>,\n document.getElementById('app')\n);\n```\n\n_Copied from original issue: Microsoft/vscode#985_\n","author":{"url":"https://github.com/dbaeumer","@type":"Person","name":"dbaeumer"},"datePublished":"2015-12-04T10:55:52Z","url":"https://github.com/microsoft/TypeScript/issues/5925"}
react-profiling 0 react-import-map react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 route-pattern /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) route-controller voltron_issues_fragments route-action issue_layout fetch-nonce v2:be371168-83e4-4eb1-557a-614691a54326 current-catalog-service-hash 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 request-id E426:296654:315BD0:437880:6B00C593 html-safe-nonce c974ed6126e3aaaa36c06f56049e9fbfa9913beea3857362a7c9bb9085c94be1 visitor-payload eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNDI2OjI5NjY1NDozMTVCRDA6NDM3ODgwOjZCMDBDNTkzIiwidmlzaXRvcl9pZCI6IjE2NTI4MzI0MjA5MzM3MTUzNDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== visitor-hmac ad464601cafbffc01c55c08a2082fab09c4b2dd6d119331468b005d83ddfa2f5 hovercard-subject-tag issue:120377996 github-keyboard-shortcuts repository,issues,copilot google-site-verification Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I octolytics-url https://collector.github.com/github/collect analytics-location / fb:app_id 1401488693436528 apple-itunes-app app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/TypeScript/5925/issue_layout twitter:image https://opengraph.githubassets.com/53c007d6713fc602a5ac5f6c86bae979b9e4a018c1c9800bd9c510dc121504bf/microsoft/TypeScript/issues/5925 twitter:card summary_large_image og:image https://opengraph.githubassets.com/53c007d6713fc602a5ac5f6c86bae979b9e4a018c1c9800bd9c510dc121504bf/microsoft/TypeScript/issues/5925 og:image:alt From prencher on December 3, 2015 20:0 When formatting the following snippet: ReactDOM.render( og:image:width 1200 og:image:height 600 og:site_name GitHub og:type object og:author:username dbaeumer hostname github.com expected-hostname github.com None 98dc00e171c204462a6f367482a0f8c3c6b5dbca99cd7390e82d2df49ce096e4 turbo-cache-control no-preview go-import github.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git octolytics-dimension-user_id 6154722 octolytics-dimension-user_login microsoft octolytics-dimension-repository_id 20929025 octolytics-dimension-repository_nwo microsoft/TypeScript octolytics-dimension-repository_public true octolytics-dimension-repository_is_fork false octolytics-dimension-repository_network_root_id 20929025 octolytics-dimension-repository_network_root_nwo microsoft/TypeScript turbo-body-classes logged-out env-production page-responsive disable-turbo false browser-stats-url https://api.github.com/_private/browser/stats browser-errors-url https://api.github.com/_private/browser/errors release ef013399cf0a3c324bea644a685d7c1e0f06b5b7 ui-target full theme-color #1e2327 color-scheme light dark react-app-name issues
URLs of crawlers that visited me.