Code Monkey home page Code Monkey logo

react-native-scrollable-tabview's Introduction

Hi there 👋

Anurag's github stats

react-native-scrollable-tabview's People

Contributors

itenl avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

react-native-scrollable-tabview's Issues

scrollableTabV.scrollTo is not function

I use scrollTo for change tab, but error as the message 'TypeError._this3$scrollableTabV.scrollTo is not function.(In "_this3$scrollableTabV.scrollTo(_this3.state.firstIndex)"

it the package.json for scrollable info:

"react": "16.11.0",
"react-native": "^0.62.2",
"react-native-scrollable-tab-view": "^0.8.0",

image

Question stacks

hi, is possible create stacks statics? without reload or onEndReached?

Is possible disable this option?

my stack

const first = () => {
  return (
    <View style={{flex:1}}>
      <Text>Hola</Text>
      ...
    </View>
  );
}

cannot run in web

cannot run in web, /node_modules/@itenl/react-native-scrollable-tabview/src/index.js 27:19
Module parse failed: Unexpected token (27:19)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. Se

请问该组件是否已用于生产环境?

HI:
偶然发现这个神奇的组件,看上去会火。
所以好奇,该组件是否已经用于生产环境呢?
以及,有对应的群组吗,类似于微信群吗!想加群一起探讨哈。

嵌套Flatlist会有手势冲突的问题

Hi~
找了一圈类似的组件还是认为大佬你这个组件的功能更全~
有个小问题就是嵌套Flatlist的话会有手势冲突的问题,是否有方法能够修复这个问题呢。
如果像demo里面用多个View组成列表,数据量大的话对性能不太友好

useRefreshEndReached onRefresh no update

根据代码

export const onRefresh = (screen, callback) => {
  if (!refreshMap.has(screen)) {
    refreshMap.set(screen, callback);
  }
}

后续如果callback发生了改变,也不会重新更新
譬如

const usePatchData =(type)=>{
  function onRefreshPatchData(){
    console.log(type);
  }
  return [onRefreshPatchData];
}


const [type,setType]=useState('A');
const [onRefreshPatchData] = usePatchData(type);


onRefresh((toggled) => {
  onRefreshPatchData();
  // 当type无论怎么变化
  // log出来都会是'A'
};
```

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.