Skip to content

Provide a param observable instead of value #32

Open
@Hypnosphi

Description

@Hypnosphi

An example from readme:

const routes = {
  '/:id': id => sources => YourComponent({props$: Observable.of({id}), ...sources})
}

Here, whenever the id is changed, a new YourComponent is created. It would be nicer to have something like

const routes = {
  '/:id': param$ => sources => YourComponent({param$, ...sources})
}

Where param$ emits values of form {id}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions