Recursive usage of component is not supported
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start by reproducing the nested Links example, including the Links → OtherModule → Links case, and compare it with the documented .live_component workaround. The issue is resolved when recursive component usage compiles normally without silently failing or producing an unreadable missing-module error.
Written by the indexing model from the issue text.
Description
Compile fails silently (or even code keeps working), but when remove _build, you will get some totally unreadable error (module not available).
To bypass the issue, use .live_component and manually pass all the props.
Lets say you have Links with urls prop with link having sublinks. Either direct or Links -> OtherModule -> Links will fail.
- Dominant language
- Elixir
- Stars
- 2.1k
- Forks
- 146
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from surface-ui/surface
-
Difficulty 1/5 1-3 hours Newbie friendliness 78/100
surface-ui/surface#634 · 1 reaction ·
-
Website is down Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
surface-ui/surface#768 · 4 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
surface-ui/surface#762 · 2 comments · 1 reaction ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
surface-ui/surface#759 · 1 reaction ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
surface-ui/surface#756 ·
All issues in surface-ui/surface
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
phoenixframework/phoenix#6847 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
beyond-all-reason/teiserver#1584 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ash-project/ash#2954 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
membraneframework/boombox#149 ·