Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

About localStorage and API cancelled #515

Answered by ije
w7en asked this question in Q&A
Discussion options

Hi all.
Today, I created new project with Deno, Aleph and React. But there are a few things i don't know, I'm looking for advice:

  1. I see in the example using localstorage but i don't see it save to Console -> Application -> Storage -> LocalStorage
  2. When i toggle index page and todos page then i see API todos/data is Cancelled. What is the reason here?

Thank so much. Have a nice day!

You must be logged in to vote
  1. since deno supports localStorage it saves data in deno cache system at ssr
  2. it's react 18 issues, the useEffect will be invoked twice in dev mode

Replies: 1 comment 1 reply

Comment options

  1. since deno supports localStorage it saves data in deno cache system at ssr
  2. it's react 18 issues, the useEffect will be invoked twice in dev mode
You must be logged in to vote
1 reply
Comment options

thanks @ije

Answer selected by w7en
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants

AltStyle によって変換されたページ (->オリジナル) /