24 个仓库
Architectural patterns for composing applications with hierarchical navigation.
Distinguishing note: Focuses on routing structure rather than general application composition.
Explore 24 awesome GitHub repositories matching web development · Nested Routing. Refine with filters or upvote what's useful.
Vue 是一个渐进式的、基于组件的 JavaScript 框架,旨在构建响应式用户界面和单页应用程序。它以声明式模板系统为中心,将 HTML 转换为高效的渲染函数,允许开发者将复杂的界面组织成自动与应用程序状态同步的隔离、可复用单元。 该框架通过依赖跟踪响应式系统脱颖而出,该系统在渲染期间监控数据访问以触发精确更新。它提供了一个灵活的架构,支持作为轻量级库的增量采用和全规模应用程序开发。开发者可以利用强大的基于插件的扩展模型来注入全局逻辑,同时框架的虚拟 DOM 对账确保通过计算最小突变来实现高效的界面更新。 除了核心渲染能力外,该项目还包括一套全面的工具,用于管理应用程序状态、基于 URL 的路由和服务器端渲染。它为组件组合、内容分发和动画管理提供了广泛支持,并内置了自动内容转义等安全措施以防止常见漏洞。 该框架随附官方类型声明以支持静态分析,并可通过标准包管理器安装,或通过脚本标签直接集成到浏览器环境中。
Organizes complex application structures through hierarchical route definitions for nested navigation.
React Router is a client-side routing library for React that maps browser URLs to specific user interface components. It functions as a declarative navigation framework used to manage application state and navigation paths within single-page applications. The library handles the extraction of dynamic URL parameters to render content based on the current browser path. It synchronizes application state with the browser URL, enabling the use of the back and forward buttons and allowing for bookmarking. The framework covers declarative UI navigation and browser history management. It employs URL
Enables hierarchical navigation by rendering child components within parent layouts based on matched URL segments.
Preact is a lightweight declarative user interface library designed for building high-performance web applications. It utilizes a component-based architecture where interfaces are defined as functional or class-based units, relying on a virtual DOM to perform efficient state reconciliation and updates. By prioritizing a minimal footprint, the library enables developers to create modular, predictable, and testable user interfaces while maintaining compatibility with standard browser APIs. The library distinguishes itself through a reactive state engine that leverages signals to track dependenc
Composes complex applications by nesting routers and delegating sub-path matching.
Dioxus is a cross-platform development framework designed for building native desktop, mobile, and web applications from a single codebase. It utilizes a declarative component model and macro-powered syntax to define reusable interface elements, which are then rendered as native widgets or web elements. At its core, the framework employs a signal-based reactivity system that tracks state dependencies to trigger granular updates, ensuring efficient interface performance without re-rendering the entire application tree. The framework distinguishes itself through a unified full-stack runtime tha
Organizes complex application structures by nesting route paths and grouping related views.
React-admin is a framework for building data-driven administrative interfaces that connect to REST or GraphQL backends. It provides a comprehensive suite of tools for managing the full lifecycle of administrative applications, including resource-oriented routing, declarative form scaffolding, and context-driven state management. By utilizing a modular adapter-based architecture, the framework abstracts backend communication, allowing developers to build consistent CRUD interfaces that handle data fetching, authentication, and synchronization automatically. The project distinguishes itself thr
Defines sub-routes within existing resource paths to organize related data views or hierarchical content structures.
Leptos is a full-stack Rust web framework designed for building reactive applications that share logic and types between the server and the browser. It provides a comprehensive toolkit for developing web interfaces where specific DOM nodes update automatically in response to changes in underlying reactive signals, rather than re-rendering entire component trees. The framework distinguishes itself through a fine-grained reactivity model that tracks dependencies at the individual data point level. It utilizes compile-time template transformation to convert declarative HTML-like syntax into opti
Supports hierarchical navigation by nesting route definitions to display child views within parent layouts.
Vue.js Client-Side Router is a routing library that maps browser URLs to Vue.js components to enable the creation of single-page applications. It functions as a navigation engine that manages browser history and URL state to allow page transitions without full browser reloads. The system utilizes a nested route manager to render hierarchical views that match complex URL structures. It includes navigation guard middleware to intercept, validate, or redirect route transitions before components are rendered. A client-side history handler synchronizes application state with the browser URL using
Supports hierarchical navigation by rendering child components into nested outlets based on URL path segments.
Umi is a comprehensive React application framework and enterprise frontend toolchain. It provides a plugin-based build system and a configuration-driven routing engine to integrate routing, build tooling, and deployment within a single dependency. The project serves as a micro-frontend orchestrator, coordinating multiple independent frontend applications into a single interface with shared data flow. Its extensible architecture allows for the customization of every stage of the application development lifecycle through a system of plugins. The framework covers a broad range of enterprise cap
Implements a system for defining hierarchical, nested, and dynamic URL structures to optimize application navigation.
React is a JavaScript library for building user interfaces through the composition of modular, self-contained components. It employs a declarative programming model where developers describe the desired visual state, and the library automatically manages the underlying document updates and state synchronization. By utilizing a virtual representation of the document, it calculates and applies minimal changes to the browser, ensuring efficient rendering even in complex applications. The library distinguishes itself through a sophisticated scheduling system that manages rendering work in increme
Maps browser URLs to hierarchical views and manages navigation, parameters, and data prefetching.
这是一个 Web 应用的预配置基础,为启动新前端项目提供了结构化的代码库和构建工具。它作为一个样板文件,集成了用于用户界面的 React、用于状态管理的 Redux 以及用于导航的 React-Router。 该架构的特色在于使用嵌套路由定义来处理分层导航,以及一个用于动态 Reducer 注入的系统,该系统允许在特定模块加载时在运行时将状态管理逻辑添加到 Store 中。 该工具包涵盖了广泛的前端功能,包括客户端路由、通过懒加载路由进行的包优化,以及支持静态资源打包的构建流水线。它还包括一个用于验证应用逻辑的集成单元测试运行器,以及用于在不完全刷新浏览器的情况下反映代码更改的模块热替换(HMR)功能。 项目提供了一个初始化工具,用于脚手架化初始目录结构和环境设置。
Uses architectural patterns for composing the application via hierarchical and nested navigation paths.
Wouter is a minimalist client-side routing library for React and Preact. It uses a hook-based system to map URL paths to components, managing navigation and URL state without requiring a mandatory provider. The library is designed for cross-ecosystem compatibility between React and Preact and supports server-side rendering by accepting initial paths and search strings during markup generation. It includes a URL parameter manager for extracting dynamic path segments and query strings from the browser address bar. Capabilities include hierarchical nested routing, programmatic navigation manage
Supports hierarchical route structures where child components match paths relative to a parent routing context.
Reach Router is a client-side routing library for React applications that maps URL patterns to components without full page reloads. It defines navigation rules and component rendering through declarative route configuration, using nested React component trees instead of separate configuration files. The library supports parent-child route hierarchies so shared UI elements persist across page transitions, and provides a declarative Navigate component that triggers URL changes and view updates when rendered. It extracts dynamic segments from URL patterns and passes them as props to matched rou
Composes parent and child routes using React component trees for shared layouts across navigation.
Waku is a minimal React framework built around React Server Components. It renders components exclusively on the server for data fetching and server-side logic, then hydrates client components in the browser for interactivity. The framework supports hybrid rendering, mixing static prerendering at build time with dynamic per-request rendering within a single application, and allows independently loading slice components that can be static or dynamic. The framework distinguishes itself through its file-based routing system that defines pages, layouts, and API endpoints by placing files in a dir
Defines pages with multiple variable path segments, each captured as a separate prop.
Solid Start is a full-stack web framework built on Solid.js that combines file-based routing, multi-mode rendering, and client hydration into a single application framework. It enables developers to build complete web applications with server-rendered pages, client-side interactivity, and API endpoints from one codebase, while supporting deployment across multiple hosting platforms through a system of platform-specific adapters. The framework distinguishes itself through its multi-mode rendering engine, which allows per-page selection between client-side rendering, server-side rendering, stat
Provides isomorphic nested routing that renders parent-child hierarchies identically on client and server.
Director is a routing library for JavaScript that handles URL and command-line pattern matching across client-side, server-side, and CLI environments. It provides a unified approach to defining routes as nested object literals, where each key maps to a URL segment and its handler, supporting both hash fragment monitoring and the HTML5 History API for browser navigation without page reloads. The library distinguishes itself through its ability to operate in multiple contexts with a single routing paradigm. It supports asynchronous handler queue execution for sequential tasks like authenticatio
Defines routes as nested JavaScript object literals where each key maps to a URL segment and its handler.
本项目是一个客户端路由教程和学习资源,用于将路由集成到 React Web 应用中。它提供了一系列增量的、可运行的应用和指南,教用户如何将 URL 映射到组件并在浏览器内管理导航状态。 该资源包括用于配置嵌套路由、捕获动态 URL 参数和处理索引路由的实用实现指南。它还提供服务器端渲染示例,以演示如何生成服务器端 HTML 以提高初始加载速度和搜索引擎优化。 该教程涵盖更广泛的功能,包括单页应用导航、分层 UI 布局以及浏览器路径到特定 UI 组件的映射。
Implements hierarchical routing to render child components inside parent layouts.
koa2-note 是一个专注于 Koa2 Web 服务器开发和 Node.js 异步编程的项目。它提供了一个使用异步中间件管道处理请求和响应周期的 Web 服务器和 API 构建框架。 该项目强调分层后端架构,将路由、业务服务和数据模型解耦。其特色在于集成了用于持久化用户会话和应用数据的关系型数据库,以及包含用于前端资源 JSX 转 JavaScript 编译的构建过程。 功能范围涵盖后端 API 设计(包括 RESTful 路由和请求数据解析)以及使用模板引擎的服务器端渲染。它还包括对使用多部分流解析的异步文件上传、基于 Cookie 的会话管理以及用于跨域请求的 JSONP 实现的支持。 该仓库作为一个教育资源,提供了学习 Koa 框架实现和服务器架构的结构化教程和示例。
Implements nested routing to structure the application hierarchy using sub-routers.
koa-router 是一个用于 Koa 应用程序的路由中间件,根据 URL 模式和 HTTP 方法将传入的 HTTP 请求映射到特定的处理函数。它为组织 Web 端点和开发 REST API 提供了基础,通过将请求路径链接到相应的控制器动作来实现。 该项目通过递归路由嵌套实现复杂端点的组织,允许将多个路由实例作为中间件挂载,以创建逻辑路由层级。它支持通过命名路由映射生成动态 URL,从而允许使用标识符而非硬编码路径来创建 URL 字符串。 该路由包含提取和验证命名 URL 参数、基于正则表达式的路径匹配以及管理中间件流水线的功能。它还处理方法约束,例如响应 OPTIONS 请求和管理重定向。
Allows the structuring of complex endpoints into logical hierarchies via nested router instances.
Vue.js Client-Side Router 是一个 Vue.js 路由库,用于同步浏览器 URL 与应用状态,从而实现单页应用导航。它作为 URL 到组件的映射器,根据当前 URL 路径和动态路由模式渲染特定组件。 该项目作为浏览器历史记录管理器,控制内部路由如何使用各种历史记录策略映射到浏览器 URL。它还提供了一个导航守卫框架,用于在路由转换期间执行逻辑和访问控制。 该库涵盖了动态路由管理、程序化 URL 操作以及查询参数解析。它支持通过静态和动态路径定义应用路由,以控制不同视图之间的切换。
Supports nested route definitions to enable recursive rendering and layout-driven view nesting.
Conductor 是一个基于视图 (View) 的 Android 应用程序框架,提供了一套通过生命周期控制器、导航路由器和 UI 协调来编排 UI 组件的系统。它专注于管理视图的加载和卸载,以优化内存和状态。 该框架具有一个用于管理屏幕转换和历史堆栈的路由系统,允许通过嵌套导航流来创建诸如主从视图 (Master-Detail) 之类的层级布局。它还包含一个用于在视图切换期间实现自定义动画和视觉效果的接口。 其更广泛的功能涵盖了视图生命周期控制、屏幕流协调,以及将视图逻辑封装到跟踪附加和分离状态的控制器中。
Uses architectural patterns to compose applications with hierarchical, nested navigation routing.