Movatterモバイル変換


[0]ホーム

URL:


Sorry, we no longer support your browser
Please upgrade toMicrosoft Edge,Google Chrome, orFirefox. Learn more about ourbrowser support.
Skip to main content
Stack Overflow
  1. About
  2. For Teams
Loading…
Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Timeline forRTK Query. How to handle path variable in baseUrl?

Current License: CC BY-SA 4.0

6 events
when toggle formatwhatbylicensecomment
Jan 23 at 21:38voteacceptLucy Johnston
Jan 23 at 18:00answeraddedDrew Reesetimelinescore: 1
Jan 23 at 17:23commentadded Lucy Johnston Yes, the latter. I would like to pass the string value, but I don't understand how from the docs. I've updated my post with an example. Thank you!
Jan 23 at 17:23historyeditedLucy JohnstonCC BY-SA 4.0
added 455 characters in body
Jan 23 at 16:04commentadded Drew Reese Is the base URL actually variable/dynamic, i.e. does it change after the API slice is created, or do you just need to know what it is when the API slice and store are created? "I have userId when the store is created" - leads me to think it's the latter case, and if so, is there any issue with just passing the computedbaseURL string value when the slice and state are created? Do you have aminimal reproducible example of the code you are working with?
Jan 23 at 15:56history askedLucy JohnstonCC BY-SA 4.0

[8]ページ先頭

©2009-2025 Movatter.jp