Fullstack app framework for web, desktop, and mobile.
835 matches across 10 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | notes/architecture/11-NATIVE-PLUGIN-FFI.md | 41 | ## Phase 1: The Macro |
| LOW | examples/01-app-demos/todomvc_store.rs | 1 | //! The typical TodoMVC app, implemented in Dioxus with stores. Stores let us |
| LOW | …p-demos/geolocation-native-plugin/src/plugin/models.rs | 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy |
| LOW | …p-demos/geolocation-native-plugin/src/plugin/models.rs | 21 | |
| LOW | …p-demos/geolocation-native-plugin/src/plugin/models.rs | 41 | /// |
| LOW | …p-demos/geolocation-native-plugin/src/plugin/models.rs | 81 | /// Accuracy level of the latitude and longitude coordinates in meters. |
| LOW | …p-demos/geolocation-native-plugin/src/plugin/models.rs | 101 | pub coords: Coordinates, |
| LOW | …-app-demos/geolocation-native-plugin/src/plugin/mod.rs | 1 | #![allow(non_snake_case)] |
| LOW | …-app-demos/geolocation-native-plugin/src/plugin/mod.rs | 21 | // Note: Permissions are now declared in Dioxus.toml using the unified manifest system. |
| LOW | …-app-demos/geolocation-native-plugin/src/plugin/mod.rs | 41 | /// |
| LOW | …-app-demos/geolocation-native-plugin/src/plugin/mod.rs | 141 | // ========================================================================= |
| LOW | …rc/ios/widget/Sources/LocationActivityAttributes.swift | 1 | // Shared ActivityAttributes for Live Activities |
| LOW | …rc/ios/plugin/Sources/LocationActivityAttributes.swift | 1 | // Shared ActivityAttributes for Live Activities |
| LOW | examples/08-apis/logging.rs | 1 | //! Dioxus ships out-of-the-box with tracing hooks that integrate with the Dioxus-CLI. |
| LOW | examples/09-reference/rsx_usage.rs | 1 | //! A tour of the rsx! macro |
| LOW | examples/09-reference/rsx_usage.rs | 21 | //! |
| LOW | examples/06-routing/hash_fragment_state.rs | 1 | //! This example shows how to use the hash segment to store state in the url. |
| LOW | examples/06-routing/router.rs | 21 | |
| LOW | examples/06-routing/router.rs | 41 | #[route("/:name")] |
| LOW | examples/06-routing/query_segment_search.rs | 1 | //! This example shows how to access and use query segments present in an url on the web. |
| LOW | examples/07-fullstack/handling_errors.rs | 1 | //! An example of handling errors from server functions. |
| LOW | examples/07-fullstack/streaming_file_upload.rs | 21 | // Dioxus provides the `FileStream` type for efficiently uploading files in a streaming fashion. |
| LOW | examples/07-fullstack/server_sent_events.rs | 1 | //! This example demonstrates server-sent events (SSE) using Dioxus Fullstack. |
| LOW | examples/07-fullstack/custom_axum_serve.rs | 1 | //! This example demonstrates how to use `dioxus::serve` with a custom Axum router. |
| LOW | examples/07-fullstack/websocket.rs | 1 | //! This example showcases the built-in websocket functionality in Dioxus Fullstack. |
| LOW | examples/07-fullstack/streaming.rs | 1 | //! This example shows how to use the `Streaming<T, E>` type to send streaming responses from the |
| LOW | examples/07-fullstack/server_functions.rs | 1 | //! This example is a simple showcase of Dioxus Server Functions. |
| LOW | examples/07-fullstack/server_functions.rs | 21 | //! RPC functions but also complex extractors for things like auth, sessions, cookies, and more. |
| LOW | examples/07-fullstack/server_functions.rs | 41 | //! |
| LOW | examples/07-fullstack/server_functions.rs | 61 | //! |
| LOW | examples/07-fullstack/server_functions.rs | 81 | //! #[post("/api/authenticate", auth: AuthCookie)] |
| LOW | examples/07-fullstack/server_functions.rs | 101 | //! Middleware will be applied in the order they are specified, and will be applied before any |
| LOW | examples/07-fullstack/server_functions.rs | 201 | room_id.map_or("None".to_string(), |id| id.to_string()), |
| LOW | examples/07-fullstack/auth/src/main.rs | 1 | //! This example showcases how to use the `axum-session-auth` crate with Dioxus fullstack. |
| LOW | examples/07-fullstack/hello-world/src/main.rs | 1 | //! A simple hello world example for Dioxus fullstack |
| LOW | examples/07-fullstack/ssr-only/src/main.rs | 1 | //! This example showcases how to use Fullstack in a server-side rendering only context. |
| LOW | examples/03-assets-styling/fonts.rs | 1 | //! Loading fonts — from a CDN and bundled with the app. |
| LOW | packages/interpreter/src/ts/native.ts | 561 | // This function sends the event to the virtualdom and then waits for the virtualdom to process it |
| LOW | packages/stores-macro/src/lib.rs | 1 | use proc_macro::TokenStream; |
| LOW | packages/stores-macro/src/lib.rs | 21 | /// ### Structs |
| LOW | packages/stores-macro/src/lib.rs | 41 | /// // that returns a store scoped to that field. |
| LOW | packages/stores-macro/src/lib.rs | 61 | /// |
| LOW | packages/stores-macro/src/lib.rs | 81 | /// // The store macro creates an extension trait with methods for each variant to check |
| LOW | packages/stores-macro/src/lib.rs | 121 | } |
| LOW | packages/stores-macro/src/lib.rs | 141 | /// |
| LOW | packages/stores-macro/src/lib.rs | 161 | /// // with ReadStore<TodoItem> |
| LOW | packages/asset-resolver/src/native.rs | 141 | /// Get the asset directory, following tauri/cargo-bundles directory discovery approach |
| LOW | packages/asset-resolver/src/lib.rs | 1 | #![warn(missing_docs)] |
| LOW | packages/asset-resolver/src/lib.rs | 21 | //! // Bundle the static JSON asset into the application |
| LOW | packages/asset-resolver/src/lib.rs | 41 | /// An error that can occur when resolving an asset to a path. Not all platforms can represent assets as paths, |
| LOW | packages/asset-resolver/src/lib.rs | 61 | /// |
| LOW | packages/asset-resolver/src/lib.rs | 81 | /// // Deserialize the JSON data |
| LOW | packages/asset-resolver/src/lib.rs | 101 | /// // Read the bytes of the JSON asset |
| LOW | packages/asset-resolver/src/lib.rs | 121 | #[non_exhaustive] |
| LOW | packages/asset-resolver/src/lib.rs | 141 | /// This function will return an error if the asset cannot be found or if it fails to read which may be due to I/O error |
| LOW | packages/asset-resolver/src/lib.rs | 161 | /// |
| LOW | packages/fullstack-server/src/redirect.rs | 1 | use std::sync::OnceLock; |
| LOW | packages/fullstack-server/src/index_html.rs | 1 | use anyhow::Context; |
| LOW | packages/fullstack-server/src/config.rs | 101 | /// use dioxus::prelude::*; |
| LOW | packages/fullstack-server/src/config.rs | 121 | /// |
| 723 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | packages/cli/src/serve/server.rs | 473 | for proxy_config in build.build.config.web.proxy.iter() { |
| CRITICAL | packages/cli/src/serve/runner.rs | 197 | client.build.config.application.tailwind_input.clone(), |
| CRITICAL | packages/cli/src/serve/runner.rs | 198 | client.build.config.application.tailwind_output.clone(), |
| CRITICAL | packages/cli/src/serve/runner.rs | 1714 | self.client.build.config.application.tailwind_input.clone(), |
| CRITICAL | packages/cli/src/serve/runner.rs | 1715 | self.client.build.config.application.tailwind_output.clone(), |
| CRITICAL | packages/cli/src/bundler/mod.rs | 233 | self.build.config.bundle.publisher.as_deref() |
| CRITICAL | packages/cli/src/bundler/mod.rs | 254 | self.build.config.bundle.long_description.as_deref() |
| CRITICAL | packages/cli/src/bundler/mod.rs | 259 | self.build.config.bundle.copyright.as_deref() |
| CRITICAL | packages/cli/src/bundler/mod.rs | 294 | self.build.config.bundle.category.as_deref() |
| CRITICAL | packages/cli/src/bundler/mod.rs | 415 | self.build.config.bundle.deb.clone().unwrap_or_default() |
| CRITICAL | packages/cli/src/bundler/mod.rs | 420 | self.build.config.bundle.macos.clone().unwrap_or_default() |
| CRITICAL | packages/cli/src/bundler/mod.rs | 425 | self.build.config.bundle.windows.clone().unwrap_or_default() |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | packages/playwright-tests/wasm-split-harness/run.sh | 4 | # To hack on harness you need the `wasm-tools` CLI installed |
| MEDIUM | packages/playwright-tests/wasm-split-harness/run.sh | 7 | # This script is also sensitive to where it's run from, so you *need* to be in the harness folder (running as `./run.sh` |
| MEDIUM | packages/playwright-tests/wasm-split-harness/run.sh | 11 | # build the harness |
| MEDIUM | packages/playwright-tests/wasm-split-harness/run.sh | 36 | # copy the output wasm file to the harness dir |
| MEDIUM | packages/playwright-tests/wasm-split-harness/run.sh | 57 | # wasm-tools strip data/harness/split/$path -o data/harness/split/$path --all |
| MEDIUM | packages/playwright-tests/wasm-split-harness/run.sh | 73 | # wasm-tools strip data/harness/split/$path -o strip data/harness/split_not/main_bg_opt.wasm --all |
| MEDIUM | packages/desktop/Cargo.toml | 125 | # These tests need to be run on the main thread, so they cannot use rust's test harness. |
| MEDIUM | packages/cli/src/test_harnesses.rs | 211 | .asrt(r#"dx build @client --package harness-simple-dedicated-client @server --package harness-simple-dedicat |
| MEDIUM | packages/cli/src/test_harnesses.rs | 219 | .asrt(r#"dx build @client --package harness-simple-dedicated-client @server --package harness-simple-dedicat |
| MEDIUM | packages/cli/src/config/inline_config.rs | 75 | // more robust, but this handles the common case) |
| MEDIUM | packages/rsx/src/component.rs | 3 | //! Uses the regular robust RsxBlock parser and then validates the component, emitting errors as |
| LOW | .github/workflows/publish.yml | 133 | # Todo: we want `cargo install dx` to actually just use a prebuilt binary instead of building it |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | packages/subsecond/subsecond/src/lib.rs | 597 | // ── HOST-STATE-MUTATING SECTION ─────────────────────────────── |
| MEDIUM | .github/workflows/main.yml | 30 | # --------------------------------------------------------------------------- |
| MEDIUM | .github/workflows/main.yml | 35 | # --------------------------------------------------------------------------- |
| MEDIUM | .github/workflows/main.yml | 62 | # --------------------------------------------------------------------------- |
| MEDIUM | .github/workflows/main.yml | 64 | # --------------------------------------------------------------------------- |
| MEDIUM | .github/workflows/main.yml | 92 | # --------------------------------------------------------------------------- |
| MEDIUM | .github/workflows/main.yml | 94 | # --------------------------------------------------------------------------- |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | packages/rsx-hotreload/src/last_build_state.rs | 146 | } // If it is a dynamic segment, we need to check if it exists in the formatted segments pool |
| LOW | packages/core/src/diff/component.rs | 49 | // If there are suspended scopes, we need to check if the scope is suspended before we diff it |
| LOW | packages/core/src/diff/component.rs | 75 | // If there are suspended scopes, we need to check if the scope is suspended before we diff it |
| LOW | packages/stores/src/impls/btreemap.rs | 138 | // to mark only the existing value as dirty. Instead we need to check if the value already exists |
| LOW | packages/core-macro/src/props/mod.rs | 698 | // If this is an optional event handler, we need to check if it's None before we try to update it |
| LOW | packages/cli/src/serve/runner.rs | 377 | // If the build is ready, we need to check if we need to pre-render with ssg |
| LOW | packages/hooks/src/use_after_suspense_resolved.rs | 8 | // If this is under a suspense boundary, we need to check if it is resolved |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | packages/desktop/src/hooks.rs | 90 | /// The callback takes a path as requested by the web view, and it should return `Some(response)` |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | examples/07-fullstack/login_form.rs | 70 | /// A static session ID for demonstration purposes. This forces all previous logins to be invalidated |
| MEDIUM | packages/html/src/attribute_groups.rs | 219 | #[deprecated(note = "This attribute does nothing. For most renderers, you should prefer calling [`dioxus_core::Event |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | packages/interpreter/src/js/native.js | 1 | function serializeEvent(event,target){let contents={},extend=(obj)=>contents={...contents,...obj};if(event instanceof Wh |
| LOW | packages/interpreter/src/ts/native.ts | 566 | function handleVirtualdomEventSync( |
| LOW | packages/interpreter/src/ts/serialize.ts | 120 | function toSerializableResizeObserverSize( |
| LOW | packages/interpreter/src/ts/serialize.ts | 130 | export function serializeResizeEventDetail( |
| LOW | packages/interpreter/src/ts/serialize.ts | 161 | export function serializeIntersectionEventDetail( |
| LOW | packages/interpreter/src/ts/serialize.ts | 472 | export function extractSerializedFormValues(event: Event, target: HTMLElement): SerializedFormData { |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | packages/playwright-tests/wasm-split-harness/run.sh | 1 | # This file is a simple shell script that runs the bundle split process manually without the CLI involved |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | examples/06-routing/flat_router.rs | 59 | p { "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolo |
| LOW | examples/06-routing/flat_router.rs | 59 | p { "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolo |
| LOW | examples/07-fullstack/through_reqwest.rs | 45 | name: "John Doe".into(), |
| LOW | examples/07-fullstack/websocket.rs | 31 | let mut name = use_signal(|| "John Doe".to_string()); |