scrimba
Imba Router
Imba Router - Fetching data
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

Imba Router - Fetching data
AboutCommentsNotes
Imba Router - Fetching data
Expand for more info
components
Categories.imba
run
preview
console
import {Page} from './Page'

tag Category
def render
<self> "Category: {params:name}"

export tag Categories < Page

def render
<self>
<nav>
<a route-to="one"> "One"
<a route-to="two"> "Two"
<a route-to="three"> "Three"
<Category route="/categories/:name">
Console
categories/one
-8:39