navigo - A simple vanilla JavaScript router with a fallback for older browsers

  •        103

A simple minimalistic JavaScript router with a fallback for older browsers. The constructor of the library accepts three argument - root, useHash and hash. The first one is the main URL of your application. If you call the constructor without parameters then Navigo figures out the root URL based on your routes. However, this proves to lead to bugs so I strongly recommend to set a root value.

https://github.com/krasimir/navigo

Tags
Implementation
License
Platform

   




Related Projects

urianchor - jQuery plugin to manage the uri hash component. Used for SinglePageWebApps.

  •    Javascript

This is a library that strives to be best-in-class. If you are considering using an SPA framework, please read Do you really want an SPA framework? first. Make your application bookmarks, browser history, the back button, and the forward button act just as the user expects while enabling you to update only the part of the page that has changed. This jQuery plugin helps you do this by making the URI Anchor (or hash fragment, as others call it) your application state API.

routie - a tiny javascript hash router

  •    Javascript

a tiny javascript hash router

kissdb - (Keep It) Simple Stupid Database

  •    C

KISSDB is about the simplest key/value store you'll ever see, anywhere. It's written in plain vanilla C using only the standard string and FILE I/O functions, and should port to just about anything with a disk or something that acts like one. It stores keys and values of fixed length in a stupid-simple file format based on fixed-size hash tables. If a hash collision occurrs, a new "page" of hash table is appended to the database. The format is append-only. There is no delete. Puts that replace an existing value, however, will not grow the file as they will overwrite the existing entry.

connected-react-router - A Redux binding for React Router v4

  •    Javascript

✨ Synchronize router state with redux store with uni-directional flow (history -> store -> router -> components). 🎁 Support React Router v4.


react-enroute - React router with a small footprint for modern browsers

  •    Javascript

Simple React router with a small footprint for modern browsers. This package is not meant to be a drop-in replacement for react-router, just a smaller simpler alternative.See path-to-regexp for path matching, this is the same library used by Express.

react-router-component - Declarative router component for React.

  •    Javascript

React router component allows you to define routes in your React application in a declarative manner, directly as a part of your component hierarchy. Having routes defined as a part of your component hierarchy allows to dynamically reconfigure routing based on your application state. For example you can return a different set of allowed locations for anonymous and signed-in users.

jquery-hashchange - This jQuery plugin enables very basic bookmarkable #hash history via a cross-browser HTML5 window

  •    Javascript

This jQuery plugin enables very basic bookmarkable #hash history via a cross-browser window.onhashchange event. These working examples, complete with fully commented code, illustrate a few ways in which this plugin can be used.

use-react-router - React Hook for pub-sub behavior using React Router.

  •    TypeScript

useReactRouter() returns an object that contains the history, location, and match properties that would be passed as props by the HOC. A tutorial covering the design and development of this package can be found on Medium: How to Convert withRouter to a React Hook.

vanilla - Vanilla is a powerfully simple discussion forum you can easily customize to make as unique as your community

  •    PHP

Vanilla uses Composer and NPM! You cannot clone this repo right into a web directory - it requires a build step. Learn more or just download the latest stable build instead. Vanilla was born out of the desire to create flexible, customizable, and downright entertaining community solutions. Vanilla has been used to power tens of thousands of community forums around the world and we couldn't be happier if you've decided to use Vanilla to grow yours.

Hasher - Browser history manager for rich media websites

  •    Javascript

Hasher is a set of JavaScript functions to control browser history for rich-media websites and applications. It works as an abstraction of browsers native methods plus some extra helper methods, it also has the advantage of dispatching Events when the history state change across multiple browsers (since this feature isn't supported by all of them).IMPORTANT: signals.js should be included before hasher.js.

vue-2.0-simple-routing-example - A simple example of routing with Vue 2.0 without using vue-router.

  •    Vue

A simple example of routing with Vue 2.0 without using vue-router. This branch uses the raw HTML5 History API. For an example integrating a 3rd-party routing solution, see the pagejs branch. For a detailed explanation of the build process, read the docs for vue-loader.

Vanilla forums - customizable discussion forum with mobile support

  •    PHP

Vanilla is a powerful community publishing platform, and it comes with a great set of features. It has add-ons to embed your vanilla forums in to any of the site with single line of code. User will be allowed to login with their Facebook, Twitter, Google and OpenID account.

learn-vanilla-js - Open source list of paid & free resources to learn vanilla JavaScript

  •    

An open source list of paid & free resources to learn vanilla JavaScript. • Feel free to fork this repo and add valuable resources to categories. All PRs will be manually reviewed.

jsRouter: Routing for Javascript

  •    

jsRouter is a lightweight URL router written in Javascript. The routing is based on the path after the hash (#) in the URL, thus providing pure client-side navigation for AJAX applications. By imitating ASP.NET MVC's routing, the use pattern is familiar for .NET developers.

vanilla-framework - From community websites to web applications, this CSS framework will help you achieve a consistent look and feel

  •    CSS

Vanilla Framework is a simple extensible CSS framework, built using Sass and is designed to be used either directly or by using themes to extend or supplement its patterns. You can link to the latest build to add directly into your markup like so, by replacing the x values with the version number you wish to link.

react-router-native - A routing library for React Native that strives for sensible API parity with react-router 🤖

  •    Javascript

A routing library for React Native that strives for sensible API parity with react-router. React Router community decided that a reducer-based paradigm similar to that of NavigationExperimental is better suited to native navigation. Transition to a reducer-based paradigm is also being discussed for the web. On the other hand, NavigationExperimental has no intention to support a React Router-like interface and leaves the navigation state up to the developer to maintain.