Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bindings/Refs Tutorial Section broken #206

Open
Crisfole opened this issue Oct 20, 2022 · 3 comments
Open

Bindings/Refs Tutorial Section broken #206

Crisfole opened this issue Oct 20, 2022 · 3 comments
Labels
tutorial Related to the tutorial

Comments

@Crisfole
Copy link

Describe the bug

I was running through the tutorial when I hit the bindings/refs segment:

https://www.solidjs.com/tutorial/bindings_refs?solved

Nothing happened. I can see the onMount and loop functions being called (logs demonstrated that), but the putImageData is a no-op (which definitely doesn't make sense).

I tried this in both Chromium Edge and Firefox.

I'm on a Windows machine.

Your Example Website or App

https://www.solidjs.com/tutorial/bindings_refs?solved

Steps to Reproduce the Bug or Issue

  1. Navigate to https://www.solidjs.com/tutorial/bindings_refs?solved
  2. Click "Solve"
  3. Observe Nothing.

Expected behavior

I expected to see something (anything really) rendered to the canvas. I haven't read the code carefully enough to know what I should be seeing.

Screenshots or Videos

image

Platform

  • OS: Windows
  • Browser:
    • Edge: Version 106.0.1370.47 (Official build) (64-bit)
    • Firefox: 106.0.1 (64-bit)
    • Chrome: Version 106.0.5249.119 (Official Build) (64-bit)

Additional context

No response

@Crisfole
Copy link
Author

To be fair, I still learned how refs worked (as expected), but I imagine it could be troublesome for a newer dev.

@ryansolid
Copy link
Member

Thank you will move this to the appropriate place.

@ryansolid ryansolid transferred this issue from solidjs/solid Oct 20, 2022
@orenelbaum orenelbaum added the tutorial Related to the tutorial label Dec 4, 2022
@mpacary
Copy link

mpacary commented Jan 20, 2023

Similar issue here with Chrome Version 109.0.5414.75 (Official Build) (64-bit) :
When adding a console.log() at top of function loop() or onMount(() => { ... }), nothing appears in console.
Only adding a console.log() at top of App() makes it appear in console.

Bindings/Forwardings refs page demo is also broken.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tutorial Related to the tutorial
Projects
None yet
Development

No branches or pull requests

4 participants