Giter VIP home page Giter VIP logo

manul-router's Introduction

Manul-Router

Adapter for https://github.com/kadirahq/flow-router for manul/mantra/react-apps

We implemented it to hide FlowRouter and make a transition to react-router more easy.

It also provides a function to create navigation-items that can be used to create navigations.

Install

npm install --save @panter/manul-router

Features

  • minimal api exposes some functions of FlowRouter and adds functions to create navigation items that can be used in navgiations
  • No automatic link detection unlike vanilla FlowRouter, but similar to react-reacter, simple -tags will cause a page-reload! You have to create a navItem (with createNavItem) which will have a onClick-Function that can be passed to an -tag. The automatic link detection causes problem if you want to interfer with the click, that's why we decided to disable it. This makes it easier to switch to react-router because it behaves similarly.

manul-router's People

Contributors

macrozone avatar

Stargazers

Claudio Romano avatar  avatar

Watchers

Beat Seeliger avatar Alexis Reigel avatar Tomáš Witek avatar Falko Schmidt avatar Timo avatar James Cloos avatar  avatar  avatar Gabor Raz avatar  avatar  avatar  avatar psc avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.