reflex icon indicating copy to clipboard operation
reflex copied to clipboard

pc.data should be able to take in state var component code.

Open Alek99 opened this issue 2 years ago β€’ 1 comments

Describe the bug A clear and concise description of what the bug is.

pc.data can't take in state vars in the render code.

To Reproduce Steps to reproduce the behavior:

  • Code/Link to Repo:

See screenshot below.

Expected behavior A clear and concise description of what you expected to happen.

Should work with state vars in the ui.

Screenshots If applicable, add screenshots to help explain your problem. Screen Shot 2023-03-16 at 9 54 00 AM

Alek99 avatar Mar 16 '23 16:03 Alek99

@Alek99 what's the workaround for this you've been using? I'm finding it hard to build out graphs.

HoughIO avatar Mar 19 '23 17:03 HoughIO

@Alek99 what's the workaround for this you've been using? I'm finding it hard to build out graphs.

As a solution to this you can just make one computed var that returns a pc.data

Alek99 avatar Apr 03 '23 17:04 Alek99