DEV Community

Discussion on: Understanding useContext in React

betula profile image
Slava Birch

Great article! Good explanation for better understanding.
I will allow myself to make one suggestion to your article.
To enable syntax highlighting in a code section, you needs to open your code block as

Its will look likes

import { useState, createContext } from 'react';
Enter fullscreen mode Exit fullscreen mode
ilizette profile image
Elizabeth Author

Thank you so much