Skip to main content
Filter by
Sorted by
Tagged with
2 votes
3 answers
155 views

I want to create a reusable Blazor component that allows the user to define the HTML header tag (<h1>, <h2>, etc.) via a parameter. My goal is to render a header dynamically like this: <...
Samuel's user avatar
  • 23
0 votes
0 answers
107 views

I’m building a React 18.3 (TypeScript) app where components are dynamically rendered based on a server-provided JSON structure. I’m using React.Suspense and React.lazy for code-splitting to load ...
Saeed Mansoori's user avatar
0 votes
1 answer
30 views

I have a list of references to DynamicComponents in Blazor. Each is possibly a different type. Each contains a method called "CodeGen" I am trying to call the public methods, but cannot ...
JerryLan's user avatar
1 vote
0 answers
123 views

I'm developing a multi-page Dash application where I dynamically switch between different views, such as a login page and a script selection page, using a placeholder div to load the content ...
Gabriel Passos's user avatar
2 votes
1 answer
239 views

I want to build a UI dynamically based on a JSON config. Trying to use ngComponentOutlet with the AsyncPipe so I can import(...) the components lazily. My implementation is not working (see example on ...
Brian's user avatar
  • 1,449
0 votes
1 answer
79 views

I want to create a Spring Boot Component named GameSessionRunner that implements the Runnable interface. During its creation, GameSessionRunner needs an object of SudokuGame, which will be dynamically ...
Himanshu Sajwan's user avatar
2 votes
1 answer
597 views

``<DynamicComponent Type="SelectedQuestionTemplate" Parameters="parameters" @ref="dynamicComponentRef"/>` Am in a situation where I need to render the component ...
VIvek's user avatar
  • 41
0 votes
1 answer
1k views

Perhaps I misunderstand how the next/dynamic components work... but when I have code like this: const RealContent = dynamic(() => import('./RealContentComponent'), { loading: () => <span>...
Chenzo's user avatar
  • 335
1 vote
1 answer
930 views

I have a base component that is extended by some other Components as follows: // UserForm <template> <div class="user-form"></div> </template> // ...
SNO's user avatar
  • 906
0 votes
1 answer
36 views

I have a question regarding interfaces: Basically I'm creating a dynamic component that change depending on which page it is. My interface is constructed like so: interface Props { heading: string; ...
Tihi's user avatar
  • 27
0 votes
1 answer
2k views

so i want to create a a dynamic react component that the name come from the backend like: [ { "data": { "header": "this is header one", "article&...
kxown's user avatar
  • 235
1 vote
1 answer
2k views

I've got a dynamic component which I am trying to pass an array of data to like: <x-dynamic-component :component="$component['component']" :data="$component&...
lky's user avatar
  • 1,139
1 vote
0 answers
197 views

I have a single page blazor application,where I have a dynamic component tag @page "/" @if (_loadSettingCompleted) { <HeaderNavMenu SelectDialog="OnSelectDialog" ...
Кадырбек Асылбек уулу's user avatar
3 votes
1 answer
4k views

As you may know in earlier versions of angular, dynamic components could be created with the help of ComponentFactoryResolver as export class DialogService { dialogComponentRef: ComponentRef<...
WasiF's user avatar
  • 29.2k