imba / imba/imba

Nested routes with parent route ending with `/*` will nest after the `/*`.

Open
#790 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
6.5k
Forks
183
Avg merge
4h 10m
Merged PRs (30d)
3

Description

### Description

The fact that both `/about` and `/about/*` appear to do the same thing could be confusing. I think we should only support one of them.

```imba
tag app


'Home'

<[d:box h:100%]>


'Nested'
'Home page.'

imba.mount
```

### Reproduction

_No response_

### System Environment

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the nested-route example from issue #790 and inspect the routing implementation that handles parent paths ending in `/*`. Determine the intended behavior for `/about` versus `/about/*`, then add coverage showing that nested routes resolve consistently under the chosen form.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.