What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-09-05 12:44:02
just show number keyboard react native
/\*\* \* Sample React Native App \* https://github.com/facebook/react-native \* @flow \*/ import React, { Component } from "react"; import { Platform, StyleSheet, View, Button, TextInput, } from "react-native"; expo... Add solution -
Javascript 2021-09-04 09:18:02
redux saga fetch json
//EXAMPLE FETCH DATA API REDUX SAGA // USER ACTION CREATOR export const REQUEST_API_DATA = 'REQUEST_API_DATA' export const RECEIVE_API_DATA = 'RECEIVE_API_DATA' export const requestApiData = () => ({ type: REQUEST_API_DATA }) // USER REDUCER import ... Add solution -
Javascript 2021-09-03 23:49:01
render first index active tabs in reactjs
import React, { Component } from "react"; class Page extends React.Component { constructor(props) { super(props); this.state = { activeTab: 0, }; this.handleClickActiveTab = this.handleClickActiveTab.bind(this); } handleClickActiveTab(e) { ... Add solution -
Javascript 2021-09-03 15:18:01
how to pass yaml data to vue file
// .vue file // must have yaml-loader installed as a dependency // place folowing block between <script></script> import AppConfig from "@/assets/config.yaml"; // gets data from yaml config export default { name: "HelloWorld... Add solution
Best helpers
Ranking is empty