Subscribe on changes!

Component API provide doesn't support symbols

avatar
Nov 16th 2020

Version

3.0.2

Reproduction link

Bug reproduction on CodePen

Steps to reproduce

Try providing a Symbol. It wont inject.

What is expected?

For the symbol provide to work. Especially because using provide() in setup() and app#provide() supports Symbol and is documented.

What is actually happening?

Symbol provide is not working.

avatar
Nov 16th 2020

Hi @privatenumber , as a workaround, use setup maybe solve this issue? https://codepen.io/alanscut/pen/rNLRWqB?editors=0010

avatar
Nov 16th 2020

I'm aware but thanks for reminding me. I meant to mention that as a reason for why it's expected to work.