question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Is grid-columns-16 experimental?

See original GitHub issue

What package(s) are you using?

  • @carbon/grid”: “^10.4.0”
  • “carbon-components”: “^10.3.1”
  • “carbon-components-react”: “^7.4.1”
  • “carbon-icons”: “^7.0.7”

Summary

I’m using the carbon grid system in a React App, following the instructions from the Carbon Website here: https://www.carbondesignsystem.com/tutorial/react-step-2#install-grid

To my CSS, I’ve added:

$feature-flags: (
  grid-columns-16: true
);
@import 'carbon-components/scss/globals/scss/styles.scss';

This works fine in the browser. However, I do see the following warning in the terminal upon building:

WARNING: Usage of non-default feature flags was found: grid-columns-16. Feature/code under non-default feature flags are either experimental, deprecated, or support for edge cases. They are subject to change any time. Use them at your own risk.

Is it true that grid-column-16 is experimental? I ask because this will eventually be used in production code. If so, is there a current best practice approach to using a 16 column grid with Carbon? Thanks in advance.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
joshblackcommented, Aug 14, 2019

Hi @mstudio! 👋 I believe this is just an issue with our underlying feature flag code. As you noted, the intent is that eventually we will move to 16 columns in our next major release. You can 100% use grid-columns-16, the only thing that will change is that eventually the feature flag will be on by default and you won’t have to do anything 😄

Hope this helps!

0reactions
scottophersoncommented, May 5, 2020

@joshblack ah I see now, thanks for the clarification!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Overview - Carbon Design System
It happens through exploration and experimentation. ... We use experimental projects to surface future resources and get them ... grid-columns-16: true,.
Read more >
jest encountered an unexpected token syntaxerror: unexpected ...
"test:js": "yarn node --experimental-vm-modules $(yarn bin jest) --config=jest.config.js",. Open side panel. Jest Vue failing: SyntaxError: Unexpected token ...
Read more >
Experimental Design and Sample Size | IACUC
Resources for Experimental Design and Sample Size Determination. To assist principal investigators and animal users in designing their animal experiments ...
Read more >
Best New Features in Bootstrap 3.0 - DZone
I think that this will REALLY encourage people to experiment and rebrand ... @grid-float-breakpoints: 768px @grid-columns: 16 //I like 16 col layouts ...
Read more >
Untitled
... building modern and feature-rich applications The experimental Razor editor for ... it will persist its order in the Grid columns.16.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found