Code documentation is an important part of software development that often gets overlooked. Writing good code documentation enhances code readabili...
For further actions, you may consider blocking this person and/or reporting abuse
Tried it on my project.
It offers me to simplify this condition statement:
export const siteUrl = isVercel ? vercelUrl : netifyUrl;
With this :
export const siteUrl = [vercelUrl, netifyUrl][isVercel];
It's can't handle NextJS and TalwindCss for now.
Eslint + conventional code analysis tools are way ahead of this app.
The second statement isn’t simplified. And you have to create a copy of the two values for vercelUrl and netifyUrl to make the array to be indexed.
Ternary expressions really aren’t bad once you understand the syntax, and they are used in a lot of languages, so you’ll be seeing them again in the future.
Thanks for the feedback.
You welcome, I know that this feature is "beta", more like "alpha" tbh. TailwindCss could be considered as anti-pattern, some devs advocate against it.
But Next.js should work out of the box.
How would you rate the documentation in my recent project? github.com/skywarth/darkest-PR
Do you think it's good, easy to read?
Looks great.
Looks cool but doesn't serve the purpose at least from my own POV.
A typical readme should contain less text and more focus on how to get started instead of jargon, but overall cool!
Thanks for the suggestions Amr, appreciated.
I'm pretty sure articles like these are called "spam" ?
Why?
2/3 of the post is an advertisement for mimrr....isn't it obvious?
They sponsored the article.