GithubHelp home page GithubHelp logo

custom-react-native-snippets-unsure-programmer's Introduction

Custom React Native Snippets

This repository contains few of the snippets that i use in my react native videos on my youtube channel.

Setup Instructions (VSCODE)

  • Open Visual Studio Code

  • CODE > PREFERENCES > USER SNIPPETS > javascriptreact.json/jsx-attr.json/jsx.json

  • Copy the code from this repository into that file.

Issues :

  • In case your javascriptreact.json snippets don't work, try and copy it into :

  • CODE > PREFERENCES > USER SNIPPETS > javascript.json

javascript.json/javascriptreact.json Snippets

imrnc  - Import React Native Component
imrnfc - Import React Native Functional Component
imrnp -  Create Panresponder.create
imrnss - Create React Native Style Sheet
clog   - console.log("$1")
rnmap  - React Native Map Method
rndime - const {width,height} = Dimensions.get('window')
rncomp - Create a React Native Component
rnfcomp  - Create a Functional React Native Component

jsx-attr.json -> JSX Attribute Snippets

rnajc - alignItems:'center',justifyContent:'center'

jsx.json -> JSX Snippets

<but - <Button title='${1:title}' onPress={()=>${2:alert('button pressed')}}/>

custom-react-native-snippets-unsure-programmer's People

Contributors

nathvarun avatar thecodez avatar

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.