Skip to content

MiiZZo/effector-router

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Route your web application with effector.

Installation

npm install effector history @miizzo/effector-router

Usage example

import { guard } from 'effector';
import { pushed, $pathname } from '@miizzo/effector-router';

guard({
  clock: $pathname,
  filter: (pathname) => pathname === '/',
  target: pushed.prepend(() => '/home'), 
});

About

Route your web application with effector ☄️.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published