DEV Community

Discussion on: Struggling With Context API ? You Are Not Alone.

Collapse
 
ndom91 profile image
Nico Domino • Edited

Just a tip, label the files you're describing with the name of the file, it makes the whole post much easier to follow.

I'm not sure if dev.to supports it, but with some markdown engines, you can do something liek this, for example:

` ``js title="./context/ReactContextProvider.js"
code here
` ``
Enter fullscreen mode Exit fullscreen mode
Collapse
 
ayo_dev profile image
Talabi Ayomide

Thank you Nico.