11,761 questions
-1
votes
0
answers
84
views
Next.js 16 Partial Prerendering (PPR) + Cache Components: Why is my dynamic segment not streaming after first request?
I'm experimenting with Next.js 16's new Cache Components and Partial Prerendering (PPR) to build a product page that:
Serves a static shell instantly (HTML for layout, header, footer)
Streams the ...
1
vote
1
answer
97
views
Next.js 16 Cache Components: Why is my cache() function still hitting the database on every request despite using next: { revalidate: 3600 }?
I'm using Next.js 16 with Cache Components (cache() from React) to deduplicate and cache database queries across layouts and pages.
Here's my setup:
// lib/data.ts
import { cache } from 'react';
...
0
votes
1
answer
54
views
Vaadin 24 Datetimepicker in one field
Is it possible to display the date and time selection field in one field instead of two?
How can I get a separate calendar and time selection component (only what is raised by clicking on the field)?
...
0
votes
0
answers
78
views
react-native-tab-view makes my react native expo project exit the expo go app
I'm clueless as to what's happening. I'm using TabView from the react-native-tab-view library in a screen, and whenever I access that screen via the Expo Go app, it closes the Expo Go preview of my ...
0
votes
1
answer
51
views
Profile component doesn't render but waits a refresh
After I click login, the home page renders but without a user, so the profile component doesn't render. The backend works properly. Is there something wrong with my AuthContext.jsx?
// src/context/...
2
votes
1
answer
69
views
Use Blazor Component Template with RenderFragment without additional Tags
I am currently experimenting with templated components in Blazor. I am trying to set up a component with a RenderFragment parameter.
For example:
<div>
@this.Content
</div>
@code {
...
-2
votes
2
answers
130
views
How to prevent filtered component from re-rendering over and over?
I have a React component that I created called List that contains an array of data. I then created a second component that is a filtered version of the list called favoriteList. The component ...
2
votes
1
answer
553
views
Angular Component doesn't generate as Component
Picture of the command here
I'm having a problem where my Angular component isn't being generated as a component. Instead of "home.component.ts/html/css" only "home.ts/html/css" is ...
1
vote
2
answers
267
views
How do I install Lockbox3 in Delphi 12.3? The GetIt version does not seem to work and the repo doesn't seem to have a package for the codecs?
I have installed both "Lockbox 3" (2025.03) and "Lockbox VCL and FMX" (2025.03) from the GetIt package manager in Delphi 12.3. The "Lockbox VCL" components (THash, TCodec,...
-1
votes
1
answer
130
views
How to pass column with variable to a component's slot in Laravel blade?
Im using to Laravel blade's component to make a dynamic table, in which user can pass in header, and corresponding rows. I wanna use this component to display many tables (permissions, reviews, etc...)...
2
votes
2
answers
56
views
Component diagram - may a component have operations and attributes
I wonder if a Component may have operations and attributes. I never see them on a component diagram, and it also doesn't sound logical, because a component diagram is a high-level diagram.
But I'm not ...
0
votes
1
answer
92
views
How i can manage a component that needs to use a custom event?
I’m using a custom Select component inside a table, and I want to make some reactive calculations in the parent component for example, updating the total price when a discount is selected through a ...
0
votes
0
answers
85
views
Set/Populate property list at design time on C#
I am trying to build a solution with two components where one of them depends on the other, I mean I have inherited a Label component that depends from a client to receive Data.
Components
As far you ...
0
votes
1
answer
107
views
Vite: [plugin:vite:import-analysis] Failed to resolve import "../assets/sample" from "src/components/Navbar/Navbar.jsx"
Vite: [plugin:vite:import-analysis] Failed to resolve import "../assets/sample" from "src/components/Navbar/Navbar.jsx"
'''
import { assets } from "../assets/sample";
'''
...
0
votes
0
answers
67
views
Astro component missing styles when deployed to Vercel
I'm building a website using Astro and deploying it to Vercel. One of my components, Footer.astro, is missing all of its styles only in production. It works fine locally. Also all other components ...
0
votes
2
answers
60
views
How do I pass an updated object down to a Child Component in React?
I have this code where I've updated an object in React. When you click "Most upvoted", it takes an object, sorts it by votes, and then updates the state with it. The problem is, it won't ...
0
votes
1
answer
74
views
Why does the divergence value at the left and right boundaries show up as 1 instead of the expected 2?
I have tried two different ways of calculating a vector's divergence using Fipy: one using the gradient of its components and the other using face divergence.
For simplicity, I have used a vector such ...
1
vote
1
answer
686
views
▲ [WARNING] TS-998113: ProductTrackingComponent is not used within the template of AppComponent [plugin angular-compiler] [duplicate]
Why am I getting the warning 'TS-998113: Product Tracking Component is not used within the template of App Component' in my Angular application, and how should I properly handle unused components?
1
vote
0
answers
36
views
How do I change a measurment unit in a Simscape custom block?
I'm trying to create a custom block in Simscape that convert energy from pressurized water into a torque. Here is my code:
component pelton_turbine
% Ce composant calcule le couple généré par l'eau ...
0
votes
1
answer
86
views
Angular component is not showing up(or rendering) in the elements [closed]
I am new to the Angular JS , and I have been trying to make a ecommerce website in the Angular. My component
<app-products-list/>
is not showing up in the elements of the browser.
app.component....
-2
votes
1
answer
620
views
Tailwind 4 custom utilities and component style error
@layer components {
h1,
h2,
h3,
h4,
h5,
h5,
h6 {
@apply font-medium text-heading text-responsive-sm ;
}
}
@layer utilities{
.text-responsive-sm {
font-size: 0.75rem; /* text-xs ...
1
vote
0
answers
48
views
Is it possible to override property types when extending a component in ColdFusion 2023?
I am testing code that works in CF 11 for an upgrade to CF 2023. I have a component that extends another component and overrides the type of a property in the base component. Here is some simple ...
0
votes
1
answer
49
views
How can I send a Injected generic type to a generic component in Blazor
I get the syntax-error int the 'Grid1Component.razor' file.
The syntax is:
The type 'T' in the generic type or method 'IGenericCrudService'. There is no boxing conversion or type parameter conversion ...
0
votes
0
answers
27
views
How can I make gradient animated progress bar? [duplicate]
I'm using mantine lib and imported Progress component:
<Progress
className={styles.progressBar}
value={progressValue}
size="xl"
radius="md"
animated
/>
I want to make ...
0
votes
2
answers
38
views
Update of a (role) component when a HTTP operation is made by an Admin component in Angular
I have 2 roles, Admin and Watcher, the admin has the ability to make changes to a table and upload them to a DB, the watcher can't make changes to that table, it can only visualize the data, the ...
1
vote
1
answer
217
views
How to create a component with sub elements in Angular [duplicate]
I try to create an own component in Angular 19 that works similar to the MatCard. There, I can define a template like:
<mat-card appearance="outlined">
<mat-card-header&...
1
vote
1
answer
74
views
Angular Conent Builder - Reading 'ɵcmp' error
I am currently trying to build a component that converts a JSON into HTML. To do this, I have a component that outputs the content and integrates further components depending on the type.
However, if ...
1
vote
1
answer
83
views
How do I store a list of items in context without passing them as props of top level component in React?
I was wondering how do these UI libraries like Headless UI, React Aria Components, etc. just pass a list of Elements, for e.g. <Tab> components in <TabList> and <TabPanel> in <...
1
vote
1
answer
302
views
Error while adding Shadcn component in Next.js 15
I faced the error below when I tried to add components from the shadcn ui in my Next.js app. I started this project from my other device and there everything was fine. But in my current device I got ...
0
votes
0
answers
68
views
Named Kotlin SpringBoot @Component not loaded
I am working on an established SpringBoot project with (usually working) auto configuration and plenty of uses of @Service and @Component. I think I now came accross an edge case, in which SpringBoot ...
0
votes
1
answer
86
views
Blazor: OnInitialized called after a component rerenders
My colleagues and me faced the problem that a blazor component (we call it View) is recreated when a root component's StateHasChanged is called. So, at that moment the View's OnInitialized method is ...
0
votes
1
answer
154
views
What is ServerPlaceholder in Nuxt.js and how is it used?
I have been working with Nuxt.js and came across a term called ServerPlaceholder, but I am not entirely sure what it refers to. I couldn't find any official documentation or references to this term in ...
0
votes
1
answer
137
views
Interact with the Virtualize component
I am currently designing a website using Blazor WebAssembly. I have a list that I want to display using the Virtualize component. For basic usage, I found the needed documentation online.
However, I'd ...
0
votes
0
answers
50
views
Pass component as value in object Angular
I'm trying to implement a webapp in Angular 17 and I'm using a private library.
There's a searchbar that needs a specific structure to be populated:
<search-bar
[searchResults]="...
-3
votes
1
answer
46
views
How to receive data in form from another component in ReactJS
I'm building a react weather app where users are allowed to enter their city name and the weather info is displayed back to the user.
The problem is, I've got the input and button in a form, and I ...
0
votes
1
answer
132
views
Constructing ComponentRenderer in Vaadin 24
I am trying to modify an application that was created 2.5 years ago with Vaadin 23.
I have upgraded to Vaadin 24.6.0 and got tons of compilation errors due to deprecation of multiple functions and ...
0
votes
1
answer
44
views
How to return blob in Joomla 5 API
I am writing a custom plugin API that should return PDF, I am using Joomla 5 but I see that it only supports JSON as a return via the View, not only that, but it also requires you to be working with ...
0
votes
2
answers
127
views
Laravel Blade @props default not over ridden
I just started learning Laravel & Blade. I am having problem with components
File: header.blade.php
<header class="bg-blue-900 text-white p-4">
<div class="container ...
0
votes
0
answers
202
views
Laravel 11 - implementing @checked directive in Blade components
I have been using a blade checkbox component with great success with the last few versions of Laravel. Recently I learned of the @checked and @selected blade directives. I love the simplicity of ...
1
vote
1
answer
776
views
Warning: React instrumentation encountered an error: Error: The children should not have changed if we pass in the same set - nextjs
I get this error message in console while switiching from one page to another.
I dont think I am using the same component in both pages
I think it is a new error which might come with react19 but I am ...
0
votes
0
answers
21
views
WordPress Dataviews React multilanguage i18n
I'm using React WP dataviews component in my plugin, but I can't load translation for the component.
OFFICIAL DOCS
I loaded plugin translation into php file with:
function umc_load_textdomain() {
...
0
votes
1
answer
125
views
How do React Native uncontrolled components manage their state?
Do these components use refs as state? When we update the component ref, do we update the DOM directly? When we update the component's ref, does the component render and show the value or the change ...
0
votes
1
answer
87
views
How to create an uncontrolled checkbox component in React Native?
The biggest question is how to manage and update the state of this component internally through the DOM without using the useState hook? How to do re-rendering?
I've been researching a lot on the ...
1
vote
1
answer
24
views
"More-less content" Nuxt/Vue component does not work
I have created a simple "more-less text" component, which is based on the Tailwind hidden class and the bound more variable. The code is below:
<!-- More.vue -->
<template>
&...
1
vote
2
answers
226
views
New VCL component - Add Style using Bitmap Style Designer
In RAD Studio 12.2 C++Builder, I created a new component called TGroupBoxE derived from TGroupBox. It inherited all of the graphic properties of TGroupBox.
I want the new component to not use the ...
-5
votes
1
answer
89
views
is there a way to pass down props from parent component to child component
https://github.com/89missions/reactproblem/issues/1 I have posted all three files here please help.
react-dom.development.js:4312 Uncaught Type Error: props.UserName is not a function
at userValue (...
0
votes
0
answers
48
views
give tab focus() on a component when rendering in vue
I have button icon which is a separate component. I need to give the tab focus on this element after page is rendered. I am using Composition API in Vue 3. I tried adding ref to this component but it ...
0
votes
0
answers
21
views
How to make an Ionic component persist between components
I am using Ionic to build a program that has a few components. On start-up, the program opens a login component, and then when the user is logged in, it redirects to my home component.
I have a '...
1
vote
0
answers
76
views
How to apply anime.js keyframes in A-Frame
In this example, we can see how keyframes work in anime.js. Inspired by this answer and A-Frame doc, I tried to apply it with the following code without success:
/* global AFRAME */
AFRAME....
0
votes
2
answers
71
views
A simple model in OpenModelica (RC circuit defined by the connexions between its components, not equations)
I am trying to test this simple circuit in OMEdit and OMShell, but it fails. Why?
model RCCircuit
// Components
Resistor R1(R=1e3); // Resistor with value 1k ohms
Capacitor C1(C=1e-6); // ...