DEV Community

Discussion on: Create an app with react(context api) and ruby on rails by using chakraUI and Formik

Collapse
 
gabrielchuan profile image
Gabriel Chuan

I've taken a look at the code as of 4/9/2020. I don't think there's the use of React Context API anywhere in your code unless I'm mistaken? Your post title and description is a little misleading in this case.

Collapse
 
m_ahmad profile image
Muhammad Ahmad • Edited

Hi Gabriel,
Post title and description is not misleading. I think you checked the wrong repo code or didn't check code completely.
Repository link is already mentioned in the description.
Here is the link of the repo: github.com/MA-Ahmad/blog-app-react...
You can check the context API in the following files and also in some other files.
src/context/blog-context.js
src/context/GlobalState.js