Skip to content

selector based on time? #4349

Answered by twittwer
faragos asked this question in Q&A
May 21, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

I would only save a validUntil in the store and check if it's still valid in the component or set a timer in an effect and trigger an action when the coupon gets invalid.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@faragos
Comment options

Answer selected by faragos
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