All Projects → falsandtru → Pjax Api

falsandtru / Pjax Api

Licence: other
The second generation PJAX for advanced web frameworks.

Programming Languages

typescript
32286 projects

Labels

Projects that are alternatives of or similar to Pjax Api

Muxie
Muxie is a modern, fast and light HTTP multiplexer for Go. Fully compatible with the http.Handler interface. Written for everyone.
Stars: ✭ 257 (-11.68%)
Mutual labels:  router
Bamf
A tool which utilizes Shodan to detect vulnerable IoT devices.
Stars: ✭ 269 (-7.56%)
Mutual labels:  router
Link
A PHP router that helps you create webapps and APIs effortlessly
Stars: ✭ 282 (-3.09%)
Mutual labels:  router
Vedetta
OpenBSD Router Boilerplate
Stars: ✭ 260 (-10.65%)
Mutual labels:  router
Ffrouter
Powerful and easy-to-use URL routing library in iOS that supports URL Rewrite(强大、易用、支持 URL Rewrite的 iOS 路由库)
Stars: ✭ 263 (-9.62%)
Mutual labels:  router
Swup
🎉 Complete, flexible, extensible and easy to use page transition library for your static web.
Stars: ✭ 3,190 (+996.22%)
Mutual labels:  router
T Mvp
Android AOP Architecture by Apt, AspectJ, Javassisit, based on Realm+Databinding+MVP+Retrofit+Rxjava2
Stars: ✭ 2,740 (+841.58%)
Mutual labels:  router
Angular
UI-Router for Angular: State-based routing for Angular (v2+)
Stars: ✭ 287 (-1.37%)
Mutual labels:  router
React Native Simple Router
A community maintained router component for React Native
Stars: ✭ 266 (-8.59%)
Mutual labels:  router
Lagopus
Yet another SDN / OpenFlow software switch
Stars: ✭ 281 (-3.44%)
Mutual labels:  router
Curi
A JavaScript router for single-page applications
Stars: ✭ 262 (-9.97%)
Mutual labels:  router
Activityrouter
Router activities and methods with url for android
Stars: ✭ 2,811 (+865.98%)
Mutual labels:  router
Vue Smart Route
Smart route search to make intelligent looking apps with Vue.js.
Stars: ✭ 280 (-3.78%)
Mutual labels:  router
Hybrid Navigation
React Native Navigation that supports seamless navigation between Native and React.
Stars: ✭ 258 (-11.34%)
Mutual labels:  router
Wouter
🥢 A minimalist-friendly ~1.5KB routing for React and Preact. Nothing else but HOOKS.
Stars: ✭ 3,654 (+1155.67%)
Mutual labels:  router
Found Relay
Relay integration for Found
Stars: ✭ 258 (-11.34%)
Mutual labels:  router
Takeoff
A rapid development environment using docker for convenience.
Stars: ✭ 271 (-6.87%)
Mutual labels:  router
Abstract State Router
Like ui-router, but without all the Angular. The best way to structure a single-page webapp.
Stars: ✭ 288 (-1.03%)
Mutual labels:  router
React Overdrive
Super easy magic-move transitions for React apps
Stars: ✭ 3,001 (+931.27%)
Mutual labels:  router
Simple Php Router
Simple, fast and yet powerful PHP router that is easy to get integrated and in any project. Heavily inspired by the way Laravel handles routing, with both simplicity and expand-ability in mind.
Stars: ✭ 279 (-4.12%)
Mutual labels:  router

PJAX

CI

The second generation PJAX for advanced web frameworks.

Features

Feature defunkt falsandtru Turbolinks
Concurrency integration X O X
Shadow DOM support X O X
Multiple area update X O O
Fallback area matching X O X
Content type validation X O O
HEAD contents markless auto sync X O X
CSS markless auto sync X O X
Script markless auto load X O X
External script load O O O
Inline script execution X O O
Execution sequence keeping X O X
Non-blocking script load O O O
Subresource integrity checking X O*1 X
Lightweight source rewrite X O O
ETag support X O X
Cache O O O
URL scope X O X
URL scope-based override settings X O X
Browser history fix X O X
Scroll position restoration X O X
NOSCRIPT tag restoration X O X
History API support*2 ? O ?
No jQuery dependency X O ?

*1 Excludes ES modules.
*2 You can use pjax APIs and history APIs in combination.

Documents, APIs, and Demos

https://falsandtru.github.io/pjax-api

Get

CDN

https://www.jsdelivr.com/package/npm/pjax-api

npm

$ npm i pjax-api

Usage

Note that this example specifies the latest version. You have to replace it with any specific version to preserve APIs from breaking changes.

<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
<script src="/assets/js/config.js"></script>
// config.js
import Pjax from 'pjax-api';
// or
const { Pjax } = require('pjax-api');

new Pjax({
  areas: [
    // Try the first query.
    '#header, #primary',
    // Retry with the second query when the first query doesn't match.
    '#container',
    // Retry.
    'body'
  ]
});

Browsers

  • Chrome
  • Firefox
  • Safari
  • Edge (Chromium edition only)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].