Uncaught Error
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- react, storybook, typescript
Research direction
Reproduce the error in the MarkdownTextarea/Default Storybook story using the wrapper and state shown in the report. Start by checking the MarkdownEditor value and onChange props and the reported hot-update stack; done means the story renders without the repeating uncaught TypeError.
Written by the indexing model from the issue text.
Description
I am currently wrapping for use in an internal project
The wrapper is very simple (in its early stages) and shown below
const MarkdownTextarea: FunctionComponent<MarkdownTextareaProps> = ({ invalid, ...props }) => {
const classes = useStyles();
return (
<MarkdownEditor height={400} visible={true} {...props} />
);
};
We are testing this wrapper using
const [value, setValue] = useState<string>("# This is a textarea")
return (<MarkdownTextarea value={value} onChange={action('onChange')} />)
When validating in story book I see the following error which seems to repeat every 500ms.
MarkdownTextarea/Default/error: (5) ["Uncaught TypeError: Cannot read property 'apply' of undefined", "http://localhost:9090/vendors~main.1a2cfcd6df914474ab0d.hot-update.js", 5350, 61, TypeError]
0: "Uncaught TypeError: Cannot read property 'apply' of undefined"
1: "http://localhost:9090/vendors~main.1a2cfcd6df914474ab0d.hot-update.js"
2: 5350
3: 61
4: TypeError
Any guidance and advice in helping to troubleshoot this would be appreciated
- Dominant language
- TypeScript
- Stars
- 382
- Forks
- 37
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from uiwjs/react-markdown-editor
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
uiwjs/react-markdown-editor#241 · 5 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
uiwjs/react-markdown-editor#240 ·
-
Add Typing for Slots Open
Difficulty 3/5 1-2 days Newbie friendliness 42/100
uiwjs/react-markdown-editor#239 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
uiwjs/react-markdown-editor#238 · 2 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
uiwjs/react-markdown-editor#234 ·
All issues in uiwjs/react-markdown-editor
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
0xMiden/bridge-portal#132 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
area:tools bug good first issue help wanted priority:P2
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
TaewoooPark/Motifcode#14 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
newrelic-experimental/preflight#793 · 1 comment ·