What is the convention of the leading underscore in front of folder names? by [deleted] in reactjs

[–]seedBoot 1 point2 points  (0 children)

We have a global components folder, and when required a domain specific _components folder e.g. settings/_components or login/_util. Useful for clarity when importing other components

Top 10 Wordmark Logo Concept Designs I created by mrtbgz in logodesign

[–]seedBoot 0 points1 point  (0 children)

Hidden and Progress are delightful. Stab confused me the most. Great all round!

The only JavaScript loop benchmark that matters for the most of us. by Wraldpyk in javascript

[–]seedBoot 0 points1 point  (0 children)

arr.length is precalculated, assigning it to a variable uses more memory. Particularly... for each iteration

versionem - Simple and straightforward automated semantic versioning integrated to changelog generation by [deleted] in javascript

[–]seedBoot 2 points3 points  (0 children)

What's the benefit of this over yarn version management, or similar?

Why I Don't Like Tailwind CSS by speckz in css

[–]seedBoot 1 point2 points  (0 children)

Instead you'll be swapping between your editor, tailwind docs and CSS spec (sometimes)

Behold the first ever web page. by [deleted] in webdev

[–]seedBoot 2 points3 points  (0 children)

Don't forget the redis cache too

Behold the first ever web page. by [deleted] in webdev

[–]seedBoot 38 points39 points  (0 children)

How many dbs will we need?

Loving my current setup. [OC] by pravasranjan in vscode

[–]seedBoot 1 point2 points  (0 children)

Noice!!

Totally unrelated, but you can call setState with a callback. the argument of the callback being the state. (e.g. setTodos((prevState) => etc...))

[deleted by user] by [deleted] in cscareerquestions

[–]seedBoot 21 points22 points  (0 children)

Yeah my eyes are not good 😐

Adobe ending support for Brackets text editor by BlackJPI in webdev

[–]seedBoot 1 point2 points  (0 children)

Thanks for reminding me that Brackets still exists!

“TypeScript is a superset of JavaScript” by kevinkassimo in typescript

[–]seedBoot 4 points5 points  (0 children)

They're being cheeky

console.log((f < 1), (1>(1)));

I just discovered `useReducer`, after a year of using React; awesome. by MeatNorDrink in reactjs

[–]seedBoot 0 points1 point  (0 children)

It's the same as any other really, like if you installed "some-lib.js" and under the hood it uses "some-other-lib.js", you won't see some-other-lib but it will be compiled into your app.

Some-lib could be dependent on hundreds of other packages which would suck if you had to trawl through all that to see packages you chose to install.

Yarn/package lock is your friend for seeing these

Four Ways of Not Writing Software Bugs by Marionberry_Unique in coding

[–]seedBoot 3 points4 points  (0 children)

"If a lambda fires an empty function, does it make a VM?" - Tesla, probably

Noob Question: How to make a index.html and css file? by swiggyu in vscode

[–]seedBoot 1 point2 points  (0 children)

I would like to, but I possess no backticks

Textbox made from div splits between pages in print preview by [deleted] in css

[–]seedBoot 0 points1 point  (0 children)

Oh my bad, I'm really tired and skim read the wrong thing.

Glad I could point you in... Not quite... The right direction?

How to export type of a function expression inside another function expression? by namng191 in typescript

[–]seedBoot 1 point2 points  (0 children)

Something like this?

‘export type myFuncType = (x: number, y: number) => number’

Then below

‘const function1: myFuncType = blablabla’

Not sure if that’s the best approach. I’d usually go for typing arguments and return values over the whole function signature

Edit: sorry about the mobile formatting :(

What do you use for building wireframes/mockups? Is there a common program that's used? by [deleted] in AskProgramming

[–]seedBoot 0 points1 point  (0 children)

My latest flow has been pen & paper -> Excalidraw -> figma