Skip to main content

Questions tagged [page-lifecycle]

When a page is requested on the web the server goes through a number of stages before sending back a response. Thus, the page life cycle is runs between request to response on the server.

page-lifecycle
1 vote
1 answer
34 views

What happens inside javascript-based Pages if power goes off (PC shutting down suddently) (ex: Vue)

Maybe this is a silly question, Regarding Vue 3 lifecycle hooks. Any idea if a lifecycle hook of unmounted or something like the old Vue 2 destroyed is called, if there is a sudden power off (cut of ...
CBD's user avatar
  • 49
0 votes
0 answers
28 views

How much time do I have to save data to local storage when browser visibility changes to hidden?

I want to save page data to local storage upon tab close or reload. I am saving data upon visibilitychange event to hidden. I've read this is the recommended way to do so per Page Lifecycle API and ...
Konrad Jamrozik's user avatar
0 votes
0 answers
29 views

Is there any downside to using Lifecycle hooks in pinia store actions?

I discovered that this is working without a problem: Store.ts function setParentRoute(route: Route | undefined) { onBeforeMount(() => { parentRoute.value = route; }); ...
xTheWolf's user avatar
  • 1,846
-3 votes
1 answer
31 views

A viewcontroller(vca) and another vcb, I need to add vcb.view to vca.view as a subview

Here is a viewcontroller(vca) and another vcb, I need to add vcb.view to vca as a subview. but I did not use addChildViewController, instead, I directly calls [vca.view addSubview:vcb.view], and vcb's ...
carol's user avatar
  • 1
1 vote
1 answer
91 views

Blazor server - how to prevent page render on the layout level

I have a Blazor Server app in .net8. There are many pages that share common parameter in the route, have common base page and layout: PageA @page "/{folder}/files @inherits MyBasePage <div>...
andy250's user avatar
  • 20.1k
0 votes
1 answer
38 views

How do I skip the "Control Events" portion of the ASP.NET Page Life Cycle without skipping re-rendering in a Postback?

Background I've been tasked with retrofitting a large-scale legacy application with a quick and dirty little check to ensure that Controls which have been Disabled when the page was created, have not ...
Robere Starkk's user avatar
0 votes
1 answer
989 views

React. Api request inside of a useEffect hook (Calling an async function)

I'm building a project in React and I got a component that holds several components. This component needs to fetch data when mounted and later when changes occur on the child components. At first, I ...
Grayson's user avatar
  • 13
0 votes
0 answers
38 views

Is there a DOM Loaded Listener or similar in Vaadin?

When loading components in Vaadin, during the loading process, it displays the progressbar before any component can be seen visually. Let's say you need to add items and and a speciific item needs to ...
zhack's user avatar
  • 149
0 votes
0 answers
207 views

Choosing the right call for Plugin to dynamically generate JSON-LD (vue.js,nuxt.js)

I am tryin to create an FAQ component in Nuxt.js that dynamically generates JSON-LD scripts for structured data. The structured data represents an FAQ page with questions and answers.https://...
Nixx's user avatar
  • 1
0 votes
0 answers
474 views

How to prevent different browsers from freezing its idle tabs?

I am trying to create a session timeout functionality where if the user stays idle for a certain period of time (say session_timeout, a pop up should be displayed on the UI and if still not acted upon ...
aabidm's user avatar
  • 11
1 vote
0 answers
24 views

if paused end fragment and then onResumed then automatically change initial position and open first fragment

**if paused end fragment and then onResumed then automatically change initial position and open first fragment. ** *there are five page; one container to show all fragment list and button click next ...
Rahul Rokade's user avatar
2 votes
1 answer
135 views

Error - Unhandled Exception: This widget has been unmounted, so the State no longer has a context

i call the data i get from the service in didChangeDependencies to reflect it on the page. Because when i call this in initState, i'm facing an error. Anyway, this is not my main problem. My main ...
macropyre's user avatar
0 votes
1 answer
162 views

Angular - action after service call is made

Im working in Angular 14, and Im loading a page with content. Some of the content though, is retrieved from an outbound service call, and I have a loading screen while the content is loading. I have ...
Josh's user avatar
  • 111
-1 votes
1 answer
521 views

Adding response header after Page load

I am working on a legacy service that has 30 aspx pages with years of business logic There is a parent aspx page which acts as a base page that the above aspx pages inherit from. I need to add a ...
user3451476's user avatar
1 vote
0 answers
110 views

Why is ASP.NET Core 5 replacing the URL query string with a random query string after the page prerender?

I am creating an ASP.NET 5 Blazor Server application with MudBlazor. I have a URL https://localhost:44324/OperationsAll?Proj_ID=23407&Tail_Nr=TG6R&Location=N. The query string is used to ...
Tyson Gibby's user avatar
  • 4,182

15 30 50 per page
1
2 3 4 5
32