|
I have a Windows Form project on .NET using JSON.NET package.
Should I also put all files under this folder onto GitHub repository?
diligent hands rule....
|
|
|
|
|
Depends on how you use NuGet, usually the files will be downloaded in a folder "Packages" so it is not needed to include that folder in your Git repo.
Quote: With NuGet 4.0+, PackageReference is preferred, although this is configurable in Visual Studio through the Package Manager UI. Overview and workflow of using NuGet packages | Microsoft Learn[^]
modified 6-Aug-23 2:41am.
|
|
|
|
|
thanks for this great link
So if I clone this project from GitHub, I need to install NuGet package again into this project?
diligent hands rule....
|
|
|
|
|
No, if you build your project from Visual Studio it will automatically restore the NuGet package (if you have your setup configured correctly of course )
|
|
|
|
|
appreciate your help. I learned new thing from you
diligent hands rule....
|
|
|
|
|
it is working perfectly...
diligent hands rule....
|
|
|
|
|
|
these two links are great
diligent hands rule....
|
|
|
|
|
The packages folder is included in the gitignore?
|
|
|
|
|
It's included in the gitignore which excludes it from your git repository.
|
|
|
|
|
|
thanks for the great info
diligent hands rule....
|
|
|
|
|
Beware: submodules can be tricky, I only would advise using this when you have mastered the basics.
|
|
|
|
|
thanks,I get your message.
diligent hands rule....
|
|
|
|
|
If you don't pay your exorcist do you get repossessed?
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
|
|
|
|
|
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
Now that's definitely a Leslie:
Repossessed (1990) - IMDb[^]
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
#Worldle #561 5/6 (100%)
๐ฉ๐ฉ๐ฉ๐จโฌโฌ๏ธ
๐ฉ๐ฉ๐ฉ๐ฉโฌโฌ
๏ธ
๐ฉ๐ฉ๐ฉ๐จโฌโ๏ธ
๐ฉ๐ฉ๐ฉ๐ฉโฌโ๏ธ
๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐
https://worldle.teuteuf.fr
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
Am searching for an article to read and get to understand the core fundamentals of react. I want to get a solid understanding of react components, state, props, lifecycle methods, and how React works in general. Any recommendation?
I should add that i would be using React with TypeScript.
modified 5-Aug-23 11:09am.
|
|
|
|
|
I definitely have an opinion on this because I had been looking for the exact same thing.
I tried many sources and then I came upon the fantastic book, React : Up & Running[^]. (O'Reilly publishing)
I had looked all over the place for someone to give me a step by step on how and why to do things certain way sin React and this book did it. It is super readable, has a tutorial type style and has fantastic code examples.
It also is a very fast read which is important too.
The 3rd chapter provided a sample that will just blow your mind. It basically creates an spreadsheet-type software in your browser. It shows you reasons you would actually use react in your solution. You'll understand the actual power and reasons. it's fantastic to get all of this in one resource.
I took that code and extended it and was working on it to create a component that allows you to:
1. Load any JSON data set (into the grid)
2. edit column data, add, search, delete data rows
You can see it at my web site: https://newlibre.com/LibreGrid/[^]
click the [Load Data] button and it'll load a default data set and then you can alter any of the data and "save" it.
I learned how to do all of that from React Up & Running.
|
|
|
|
|
will spare some time and go through your article.
|
|
|
|
|
|
This question would be better suited for the web development forum. That being said, I know years ago when I first was getting into React I went through some Pluralsight courses. These days there's also Udemy. Just pay for an online course or three. Any dev that takes their time to break everything down deserves a few bucks.
Jeremy Falcon
|
|
|
|
|
devenv.exe wrote: lifecycle methods Also, be aware that using life cycle methods are old and outdated. These days it's about using hooks. It's still worth learning though in case you either 1) run into old code or 2) want to use a class component rather than a functional one. Hooks are functional only.
Here's a couple topics to look into.
- State management. Learn Redux, no matter what a n00b says. Learn it. Trust me.
- Learn the Context API and its history. This was made in response to n00bs not liking redux. It's pretty cool, just don't abuse as doing so is no different than a crap design using global variables everywhere.
- Forget what you learned about the Context API. You'll now use hooks instead for shared state such as
useReducer . You'll be glad you trained up on Redux for this. And you'll know the whys and backstory to what we're doing now... which will set you apart. - And for all things pure, learn about generators in JS/TS. It's not specific to React, but gee golly so many people bash JS but have no early idea about what it can do.
Jeremy Falcon
|
|
|
|
|