Skip to content

Can't define a route with query parameters. #109

Open
@crimsonhawk47

Description

@crimsonhawk47

I receive this error in the javascript console (picture attached).

(defroute "/details/:id" {:as params}
  (render-details-page (:id params)))

image

This error happens even if I just take out the (:id params) part and just render a random component.

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