Title: Support for class fields · Issue #3278 · lit/lit · GitHub
Open Graph Title: Support for class fields · Issue #3278 · lit/lit
X Title: Support for class fields · Issue #3278 · lit/lit
Description: This issue has been reported before with typescript (lit/lit-element#855 and lit/lit-element#878) With class fields coming to Safari 14, we will start to see more developers using it outside of typescript. The class field specification c...
Open Graph Description: This issue has been reported before with typescript (lit/lit-element#855 and lit/lit-element#878) With class fields coming to Safari 14, we will start to see more developers using it outside of typ...
X Description: This issue has been reported before with typescript (lit/lit-element#855 and lit/lit-element#878) With class fields coming to Safari 14, we will start to see more developers using it outside of typ...
Opengraph URL: https://github.com/lit/lit/issues/3278
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Support for class fields","articleBody":"This issue has been reported before with typescript (https://github.com/Polymer/lit-element/issues/855 and https://github.com/Polymer/lit-element/issues/878)\r\n\r\nWith class fields coming to Safari 14, we will start to see more developers using it outside of typescript.\r\n\r\nThe [class field specification](https://github.com/tc39/proposal-class-fields) changed from using assignment to using [defineProperty](https://github.com/tc39/proposal-class-fields#public-fields-created-with-objectdefineproperty). This is a problem when using LitElement properties without decorators.\r\n\r\nThis is a small example: https://jsbin.com/zesedefeqe/1/edit?html,output\r\n\r\nIs there any way we can support standard class fields in JS without decorators? Otherwise this will become a common source for confusion for developers.","author":{"url":"https://github.com/LarsDenBakker","@type":"Person","name":"LarsDenBakker"},"datePublished":"2020-07-04T10:36:52Z","url":"https://github.com/lit/lit/issues/3278"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| 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:c6dd0890-6b24-69ad-5402-c0df6b202d95 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8F7A:2AB5E3:15D5A6C:1CA5268:6AED7B8F |
| html-safe-nonce | b3b707d52f2532b19a5cac2fb8b5127e13eed6defd01c1ee14f5ea46c16bc3c7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RjdBOjJBQjVFMzoxNUQ1QTZDOjFDQTUyNjg6NkFFRDdCOEYiLCJ2aXNpdG9yX2lkIjoiODk2NjM3NDYyMTcyMzg1MTY2MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c2a2e48ccf617273628834ef02fd6cf9705b068ef1685cb7f143b5ae32730f57 |
| hovercard-subject-tag | issue:1366994960 |
| 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/lit/lit/3278/issue_layout |
| twitter:image | https://opengraph.githubassets.com/39122c5796b6333691738f82b2c60bc2c69375685dd65ecdc06e97c368c6f578/lit/lit/issues/3278 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/39122c5796b6333691738f82b2c60bc2c69375685dd65ecdc06e97c368c6f578/lit/lit/issues/3278 |
| og:image:alt | This issue has been reported before with typescript (lit/lit-element#855 and lit/lit-element#878) With class fields coming to Safari 14, we will start to see more developers using it outside of typ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | LarsDenBakker |
| hostname | github.com |
| expected-hostname | github.com |
| None | 56fb42677ae87ed3e64410323d67980aa65d0485568a7858f874e7edfc6d1c11 |
| turbo-cache-control | no-preview |
| go-import | github.com/lit/lit git https://github.com/lit/lit.git |
| octolytics-dimension-user_id | 18489846 |
| octolytics-dimension-user_login | lit |
| octolytics-dimension-repository_id | 95797174 |
| octolytics-dimension-repository_nwo | lit/lit |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 95797174 |
| octolytics-dimension-repository_network_root_nwo | lit/lit |
| 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 | 9c9a37e2423ed382cf39f70b5aa4b4858b40a3b0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width