Can you show toasts from loaders using a Link

Open
#26 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
typescript
Domain
backend, web-dev

Research direction

Start with the navigation and loader behavior described in the issue, using the linked example repository to reproduce the missing toast when navigating with a Link. Compare loader execution on Link navigation with the expected toast behavior, then document or implement the behavior needed for low-priority API resource failures.

Written by the indexing model from the issue text.

Description

I have noticed the toasts do not show if you navigate to a page with a Link component because it does not seem like the root loader re-runs. Is this correct?

Example repo: https://github.com/MattyBalaam/remix-toast-loader-test

My use case is to show a toast message if some low-priority api data resources do not load.

Dominant language
TypeScript
Stars
260
Forks
15
PR merge metrics
No merged PRs in 30d

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from code-forge-io/remix-toast

All issues in code-forge-io/remix-toast

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.