11,805 questions
0
votes
2
answers
34
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
41
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 ...
-3
votes
0
answers
23
views
How do middleware and components be distinguished in J2EE? [duplicate]
Is middleware a component plus a container? Are containers a concept or something existing?
Explain the relationship between components, middleware, containers, and component templates in J2EE.
It is ...
0
votes
1
answer
97
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
12
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
67
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
280
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
34
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
44
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
22
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
33
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
77
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
40
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
61
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 <...
0
votes
2
answers
46
views
Vue.js component doesn't render on slow internet
So I have a component, which needs to be shown on the last page of the book, sometimes it isn't showing, for couple of seconds, sometimes you need to list back on the previous page and back on the ...