βοΈA simple snippets app, Just click on the snippet you need, it's already in your clipboard.
chetanraj / snpt Goto Github PK
View Code? Open in Web Editor NEWπ‘A simple snippets app.
Home Page: https://snpt.netlify.com/
π‘A simple snippets app.
Home Page: https://snpt.netlify.com/
@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: () => {}
};
}
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>
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 |
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
@testing-library/jest-dom
, @testing-library/react
)@testing-library/jest-dom
, @testing-library/react
)These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.
react
, react-dom
)react
, react-dom
)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.yml
Need to review the snippets in Redux and put them in correct category.
When we click on any button on the left, Showing a text "Snpt copied to clipboard π
" currently on the bottom of the screen.
Need to change that to a notification
Make snippets to useSelector
, useDispatch
and useStore
.
It would be interesting to have an option for React Native snippets and I would be happy to add, what do you think?
Issue Details - https://sentry.io/share/issue/4bac59f789dd4456bd768514e3081f6b/
Currently the axios is having get & post, please add all the methods
On click of the Button, the Button re-renders, needs to eliminate that.
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)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.