NativeScript / NativeScript/docs

ListView example for Solid.js does not render

Open
#178 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
17
Forks
31
Avg merge
8h 51m
Merged PRs (30d)
2

Description

https://github.com/NativeScript/docs/blob/fb9c1a4878e3f30fad23fa482f709261a80f1fae/examples/solid/src/ui/listview.tsx#L14

This should probably be something like:

          <listview
            items={items}
          >
            <itemtemplate>
                <label text="{{ item.title }}" />
            </itemtemplate>
          </listview>

But compared to, for example Svelte version, how would you get item correctly with Solid?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Inspect examples/solid/src/ui/listview.tsx at the linked line, then compare it with the corresponding Svelte ListView example. Determine how the Solid example should receive the item value and verify that the example renders the item title as intended.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.