DesignRevision (@DesignRevision) header
DesignRevision (@DesignRevision) profile picture

We build products that help designers and developers ship faster.

Europe
Joined May 2014
🚀 Introducing Shards Dashboards, a premium admin dashboard UI toolkit packed with lots of templates, custom components and support for third-party plugins. Make sure you check it out! designrevision.com/downloads… #productlaunch #bootstrap
2
10
2
56
We're cooking something spicy. Stay tuned!
1
1
41
Common mistakes: - Thinking const means totally immutable (it's not) - Re-declaring variables with let in the same scope - Still using var out of habit or because a 2013 tutorial said so
18
When to use which? Easy rule: ➡️ Use const by default ➡️ Use let if you need to reassign
14
ES6 brought the fix: let and const - let is block-scoped - const is also block-scoped, and non-reassignable - Both don’t hoist like var Result: fewer bugs, more predictable behavior, and clearer intent.
13
var had a good run. But it's: Function-scoped (not block-scoped) Hoisted in weird ways Still hanging around in legacy code Ever used var in a loop and got back 5, 5, 5, 5, 5? Yep, that’s why it’s gotta go.
14
What is a variable, really? It’s just a named reference to a value in memory. That’s it. But in JS, how you declare that variable makes a huge difference in scope, safety, and readability.
14
🧵 let, const, and the death of var in JavaScript If you’re still using var, it’s time for a little intervention. Let’s break down how variables really work in JS, and why let and const should be your new best friends. 👇 A thread for devs who want cleaner code:
6
69
😻Shards Pro is now live on @ProductHunt and it comes with a special surprise! With this launch, we are giving away discounts up to 40% OFF the already discounted price, but they're in limited supply! Make sure to grab yours while they last! buff.ly/2LDZOaI
2
🚀Introducing Shards Pro, a premium UI pack featuring 350+ components, 120+ blocks, 15 pre-made templates in 13 categories perfect for digital products, mobile apps, startups or agencies. buff.ly/2vNuFqu #bootstrap4 #ui
2
Replying to @vinkiti
We're really glad you like it! No plans just yet, but if there will be more requests, we will definitely consider providing TS support. 😄
1
1
Replying to @FrendzyMarket
Hey there! Sorry for the delay. Based on the error message it looks like you don't have Python installed. Please make sure to install Python and see if the error persists. 😁
🎨Apple, Google, and Netflix logos get a Bauhaus makeover buff.ly/2tU8M7W
3
⚛️Check out some of the best free React tutorials and courses that can help you master React as fast as possible! buff.ly/2H1hlqr #reactjs #tutorials
2
🎨Learn how to style your Angular application using Bootstrap buff.ly/2SIuwTt #angular #bootstrap
1
🤔💡Don’t get clever with login forms by @brad_frost buff.ly/2IcwXbP #login
📦⚛️Check out some of the best React UI component libraries in 2019 buff.ly/2GANqFg #react #components #library