Thanks a lot for the video! It is really helpful and thorough! Can you please say, what extension/setting you have in VS Code, that allows you to see wrapper of the code at the top of the editor? For instance: at 10:16 we see line 8 near tabs, saying that the code below belongs to useState function
@@ibrahimayomide2858 I wrote a much more complete example, but YT deleted my comment, so here's the short version. I'm talking about cases where you know your condition won't change during your component's complete life-cycle.
Great stuff, loving this to the point deep dives!
Thanks a lot for the video! It is really helpful and thorough!
Can you please say, what extension/setting you have in VS Code, that allows you to see wrapper of the code at the top of the editor?
For instance: at 10:16 we see line 8 near tabs, saying that the code below belongs to useState function
That is a native vscode settings option: Editor -> Sticky Scroll: Enabled
@@leotravel85 thanks a lot:)
Thanks... Good Explanation
Actually, you can do conditionally in certain cases. Just know what you're doing :)
give example pls
@@ibrahimayomide2858 I wrote a much more complete example, but YT deleted my comment, so here's the short version. I'm talking about cases where you know your condition won't change during your component's complete life-cycle.
@@wintercounter2 thank you, that total make sense
too many restrictions
eh? not really is a library so it has way less than a framework