You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Marko Stijak (@mstijak) thank you for opening this issue. Would you mind sharing a simple code example? I believe this is an issue for the JavaScript language service.
Also, I noticed that of the leading React developers is considering using react namespace to distinguish React-related attributes from everything else (e.g. react:key).
Marko Stijak (@mstijak) very cool! I don't believe this is supported through an extension today. This may be a good candidate for a PR on the JavaScript language service or an extensibility point for the language service.
Activity
waderyan commentedon Oct 14, 2016
Marko Stijak (@mstijak) thank you for opening this issue. Would you mind sharing a simple code example? I believe this is an issue for the JavaScript language service.
mstijak commentedon Oct 16, 2016
I'm developing a framework which offers advanced data-binding options. It's a non-standard use case, but namespaces provide a very convenient syntax.
This is how you declare a two-way data binding:
You can see the full example here:
http://cx.codaxy.com/fiddle/?f=luv00Rpw
Also, I noticed that of the leading React developers is considering using
reactnamespace to distinguish React-related attributes from everything else (e.g. react:key).react/jsx#66
waderyan commentedon Oct 24, 2016
Marko Stijak (@mstijak) very cool! I don't believe this is supported through an extension today. This may be a good candidate for a PR on the JavaScript language service or an extensibility point for the language service.
Mohamed Hegazy (@mhegazy) and Dirk Bäumer (@dbaeumer) can you advise Marko Stijak (@mstijak) on what he can do here?
dbaeumer commentedon Oct 25, 2016
Wade Anderson (@waderyan) this needs to be done by the tsserver since according to Marko Stijak (@mstijak) we report an syntax error here.
mstijak commentedon Oct 25, 2016
It looks like this:
waderyan commentedon Oct 25, 2016
This issue was moved to microsoft/TypeScript#11833