Fusion icon indicating copy to clipboard operation
Fusion copied to clipboard

[0.3] Documentation Examples Not Working (except Player List)

Open returnescr opened this issue 1 year ago • 1 comments

After reviewing the first three examples in the documentation, it seems the main issues are due to typos.

  1. Animated Computed: On line 41, the peek variable is not declared.
  2. Fetch Data From Server: On line 39, the peek variable is also undeclared. Additionally, on line 31, the fetchUserBio function is called without the necessary parameters, causing an error.
  3. Light & Dark Theme: On lines 29 and 32, the peek variable is not declared.

I attempted to resolve the issues in the other examples as well, but I wasn't successful. While fixing the typos prevented errors, the code still didn’t work. This is beyond my expertise, as I don’t use Fusion or have familiarity with it.

returnescr avatar Oct 02 '24 07:10 returnescr

May want to look at the examples of previous versions as well.

returnescr avatar Oct 02 '24 09:10 returnescr

Phew! Thanks for this I was wondering what was going on.

s2xon avatar Nov 19 '24 18:11 s2xon

Player List also has incorrect typing at line 9 (Scope used without generic type) Type hints do not seem to work (hover over "props.Players" or "player" at line 64. Result unreadable with luau-lsp and properly generated sourcemaps)

elthundercloud avatar Nov 25 '24 12:11 elthundercloud

Hey is this issue fixed? Can it be closed?

iSophes avatar Feb 09 '25 21:02 iSophes