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.

Trying out snippets

See original GitHub issue
// playroom.config.js

module.exports = {
  title: 'Playroom',
  outputPath: './dist',
  components: '...',
  snippets: './snippets/index.js',
};
// ./snippets/index.js

import React from 'react';
import { Button } from '...';

export default [
  {
    group: 'Button',
    name: 'Test',
    code: <Button>Test</Button>,
  },
];
TypeError: snippet.split is not a function

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
pascalduezcommented, Feb 4, 2020

Loving the feature! Thanks a bunch.

Screenshot from 2020-02-04 16-21-41

2reactions
pascalduezcommented, Feb 4, 2020

code: string Where’s the delete button? 😊

Read more comments on GitHub >

github_iconTop Results From Across the Web

2 Snippets - Java - Oracle Help Center
Trying Out Snippets. Snippets of Java code are entered into JShell and immediately evaluated. Feedback about the results, actions performed, and any errors ......
Read more >
How to Create Video Snippets Instantly with Transcripts - Reduct
Try Reduct for Free →. Reduct streamlines this process with interactive video transcripts that let you clip and edit footage just by editing...
Read more >
Code snippets - Visual Studio (Windows) - Microsoft Learn
Code snippets typically contain often-used code blocks such as try-finally or if-else blocks, but you can also use them to add entire ...
Read more >
The Time Has Come: How to Actually Create a Video Rich ...
Rich snippets are an excellent way to make your content stand out on SERP against all of the competition. After all, you work...
Read more >
Shortcuts for testing out small code snippets in IntelliJ IDEA?
So my question is this: what do other people use to try out their snippets of code? java · intellij-idea · Share.
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