Use true/false logic - Deepstash

Use true/false logic

Use "true/false" or "on/off" labels to switch between two distinct properties. This little trick will make switching variants quicker and closely match how different components work in the code.

For instance : Type=Single-line, State=Default, Optional=Yes

16

24 reads

CURATED FROM

IDEAS CURATED BY

alexandra_tud

Front End Developer & UI/UX Designer ✨

The idea is part of this collection:

Product Management Essentials

Learn more about product with this collection

Essential product management skills

How to work effectively with cross-functional teams

How to identify and prioritize customer needs

Related collections

Read & Learn

20x Faster

without
deepstash

with
deepstash

with

deepstash

Personalized microlearning

100+ Learning Journeys

Access to 200,000+ ideas

Access to the mobile app

Unlimited idea saving

Unlimited history

Unlimited listening to ideas

Downloading & offline access

Supercharge your mind with one idea per day

Enter your email and spend 1 minute every day to learn something new.

Email

I agree to receive email updates