question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

useNewTransformation Feedback Thread

See original GitHub issue

We introduced a new transformation which powers the Svelte intellisense under the hood. The goal is to get rid of a tsx-style transformation and simplify transformations along the way.

Advantages for users:

  • no messing with projects who use JSX for some other reason and then have conflicting JSX definitions (#1256, #1149)
  • better type inference in some cases, for example around svelte:component

Internal advantages:

  • TS control flow easier to keep flowing
  • overall easier transformations of Svelte specific syntax like await, each etc.

You can try out the new transformation using

  • “Svelte for VS Code” version 105.11.1 and setting svelte.plugin.svelte.useNewTransformation to true
  • svelte-check version 2.4.0 with the --use-new-transformation flag.

Please provide feedback in here about any improvements or regressions.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:6
  • Comments:37 (27 by maintainers)

github_iconTop GitHub Comments

4reactions
dummdidummcommented, Feb 16, 2022

Thanks @ignatiusmb, @rgossiaux and @kevin-legion for the feedback!

  • The “is this a valid component” check should be better now, fixing the case @ignatiusmb mentioned and also hopefully makes it more clear that the error reported by @rgossiaux and @kevin-legion are actually usage errors - you need to pass a component constructor type, not the instance type (component: new ({target: any, props: any}) => YourComponent or component: typeof YourComponent instead of component: YourComponent)
  • The #each bug should be fixed
4reactions
dummdidummcommented, Feb 3, 2022

Thanks @sw-yx and @ignatiusmb ! Both issues are hopefully fixed with the latest version.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why use Transform feedback? - OpenGL: Advanced Coding
Transform feedback is primarily used to retrieve values from vertex-transforming stages of the pipeline. There are a lot of use cases.
Read more >
Thread Types - Informatica Documentation
Transformation threads process data according to the transformation logic in the mapping. The master thread creates transformation threads to transform data ...
Read more >
Use Change forums to manage Business Transformations
Blog site: http://wahab.eu/r/change Do you remember the time when you were leading a series of projects and everything was perfect.
Read more >
Leadership in Transformation Forums
Leadership in Transformation (LiT) Forums 2022-2023. Our Inaugural Year Has Begun! It is not too late to join us - registration is still...
Read more >
Unofficial Feedback thread for the Vampire Lord Ult+ ...
Unofficial Feedback thread for the Vampire Lord Ult+ Revamped Vampire Skill ... I'd rather not HAVE to use the transform, hope its optional, ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found