microsoft / microsoft/BotFramework-WebChat

Directline webchat not working in React Strict Mode

Open
#5,125 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bot Services customer-reported question
Dominant language
HTML
Stars
1.8k
Forks
1.6k
Avg merge
22h 58m
Merged PRs (30d)
2

Description

I have a question

Minimizable web chat example from samples is not working in React Strict Mode.
conversations API is getting cancelled

React Version: 18.2.0
NodeJS: 18.19.1

Screenshot 2024-04-08 194232

Contributor guide

Open the 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.

Research direction

Reproduce the minimizable web chat example from samples with React 18.2.0 in Strict Mode and observe the conversations API cancellation. Trace the example's lifecycle to identify why the request is cancelled; done means the web chat works in Strict Mode without that cancellation.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, react
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.