Comments (4)
I don't think classes should be exempted from this, but it's still wrong that the error shows up here because it's passed into context at which point the ownership should be widened.
if that's true this should also apply to object literal right?
from svelte.
I don't think classes should be exempted from this, but it's still wrong that the error shows up here because it's passed into context at which point the ownership should be widened.
from svelte.
I don't think classes should be exempted from this, but it's still wrong that the error shows up here because it's passed into context at which point the ownership should be widened.
Interesting. Then ownership should also be widened for state (deep object) owned by a component like here?
Here's the original Twitter thread for context: https://twitter.com/trueadm/status/1775864362953048451
from svelte.
reopening since #11094 was reverted
from svelte.
Related Issues (20)
- Svelte 5: compile-time variable HOT 4
- Svelte5: reactive Set constructor not working correctly HOT 14
- Svelte 5: Specify (and enforce) special `<svelte:*>` tag void-ness HOT 2
- svelte 5 accessors broken after [email protected]
- Svelte 5: `{#each expression as name (key)}` behaves differently than Svelte 4 HOT 8
- How to unproxy a $prop? HOT 2
- Svelte 5: updating `$state` array with `.push()` breaks when we first update by spreading HOT 1
- Svelte 5 bindable not working local HOT 2
- Svelte code with many function calls crashes on Webkit HOT 4
- svelte 5: script tag onload no used
- svelte 5: Script tag not call load funciton
- svelte 5 : script tag does not calll load HOT 1
- Discriminating union does not work in template HOT 2
- Svelte 5: Creating snippets in `.svelte.js` / `.svelte.ts` files HOT 3
- Svelte 5: mixing and matching old and new events is buggy HOT 2
- Svelte 5: you can mount a snippet
- Svelte 5 Bug - spreading value and oninput props make snippet disappear on input change
- Svelte 5: (non-state-reference) `moduleVariable` is updated, but is not declared with $state(...)... HOT 5
- Svelte 5: Adding a delay param to svelte transitions causes the node to immediately appear for the duration of the delay HOT 3
- <Todo bind:this={todo.ref} ... /> leads to undefined when todos array is mutated HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from svelte.