Skip to content

Dynamic Route Segments Bug with Solid #6057

Closed

Description

@nhjjgjjg

Which project does this relate to?

Start

Describe the bug

Image

Your Example Website or App

no

Steps to Reproduce the Bug or Issue

Use dynamic route segments with solid doesn't render the postId in browser

Expected behavior

Correctly render the postId

Screenshots or Videos

No response

Platform

  • Router / Start Version: 1.133.20
  • OS: Windows
  • Browser: Helium
  • Browser Version: 0.7.1
  • Bundler: vite
  • Bundler Version: 7.1.7

Additional context

No response

Activity

  1. coderabbitai commented on Dec 10, 2025

    @coderabbitai
    Contributor

    📝 CodeRabbit Plan Mode

    Generate an implementation plan and agent prompts for this issue.

    • Create Plan
    Examples

    🔗 Related PRs

    #5647 - test(solid-start): fix dev server for suspense transition [merged]
    #5903 - fix(solid-start): fix hydration regression in 1.136.9 [merged]

    👤 Suggested Assignees

    • birkskyum

    🧪 Issue enrichment is currently in early access.

    To disable automatic issue enrichment, add the following to your .coderabbit.yaml:

    issue_enrichment:
      auto_enrich:
        enabled: false
  2. birkskyum commented on Dec 10, 2025

    @birkskyum
    Member

    @nhjjgjjg in solid you have to write it as:

    const params = Route.useParams()
    
    return <div>Post ID: {params().postId}</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions