jaredpalmer / jaredpalmer/formik-effect

TypeError: Cannot read properties of null (reading 'useRef')

Open
#13 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
167
Forks
12
PR merge metrics
No merged PRs in 30d

Description

![image](https://user-images.githubusercontent.com/56760355/200633577-5a4ceceb-186d-4239-b20e-47584d616001.png)

Does someone know what is the problem? I can't even use Formik, I get this error on every try of use.

Is there a problem with newer versions of react or and what is the solution if it is? (I am using react 18.2.0)

Contributor guide

No contributing guide indexed for this repository

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

Start by reproducing the reported Formik usage with React 18.2.0 and review the repository entry points involved in the component. Check whether the failure is specific to newer React versions and document the compatible setup or required change. Done means Formik usage no longer produces the null useRef TypeError.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.