Giter Club home page Giter Club logo

snpt's Introduction

snpt

Netlify Status Build Status Known Vulnerabilities


βœ‚οΈA simple snippets app, Just click on the snippet you need, it's already in your clipboard.

snpt's People

Contributors

adarshlilha avatar andrewdazs avatar bossbossk20 avatar chetan-activeai avatar chetanraj avatar dimitri-gigot avatar enka avatar erivaldodantas avatar evelew avatar juansimon18 avatar kwaimind avatar lucasbassetti avatar nabin-stride avatar pragunsaini avatar rajkharvar avatar renovate-bot avatar risinggeek avatar sanjaymahto avatar whyang0808 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

snpt's Issues

Add snippets for component using interfaces for states and props

@chetanraj , Can I add a new snippet for components using interfaces for states and props

Example snippet:

interface exampleState {
state1 : string;
state2: boolean;
state3 : any;
}

interface exampleProps {
props1: string;
props2: boolean;
prop3: any;
}

class ExampleComponent Extends React.Component<exampleProps,exampleState> {
constructor(props) {
    super(props);
    this.state = {
      state1: "",
      state2: false,
      state3: () => {}
    };
}

Copy to clipboard issue

The text copied does not consider new line and tabs.
Consider an example of snippet copied
Current behaviour:
<template> <div> </div></template><script>export default {}</script><style lang="scss" scoped></style>

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Warning

These dependencies are deprecated:

Datasource Name Replacement PR?
npm node-sass Unavailable

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • Update dependency @sentry/browser to v8

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Ignored or Blocked

These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.

Detected dependencies

npm
package.json
  • @sentry/browser 5.16.0
  • node-sass 4.13.0
  • react 16.13.1
  • react-dom 16.13.1
  • react-scripts 3.3.0
  • styled-components 4.4.0
  • @testing-library/jest-dom 4.2.3
  • @testing-library/react 10.0.3
  • bundlesize 0.18.0
  • expect 24.9.0
  • husky 4.0.6
  • lint-staged 8.2.1
  • prettier 2.0.5
  • prism-react-renderer 1.0.2
  • react-prism 4.3.2
  • stylelint 12.0.1
travis
.travis.yml

  • Check this box to trigger a request for Renovate to run again on this repository

Add option to React Native

It would be interesting to have an option for React Native snippets and I would be happy to add, what do you think?

To fix unique "key" prop issue

To Fix

index.js:1375 Warning: Each child in a list should have a unique "key" prop.

Check the render method of Snippets. See https://fb.me/react-warning-keys for more information.
in Fragment (created by Snippets)
in Snippets (at App.js:63)
in div (at App.js:46)
in div (at App.js:45)
in div (at App.js:43)
in App (at src/index.js:6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.