Skip to content
#

React Native

react-native logo

React Native is a JavaScript mobile framework developed by Facebook. It allows developers to build Android and iOS mobile apps using JavaScript and reuse code across web and mobile applications.

Here are 13,059 public repositories matching this topic...

penghuwan
penghuwan commented Nov 26, 2019

问题描述

Input,TextArea组件文档没有介绍小程序端的兼容状况

复现步骤

亲爱的开发者们您好,我遇到的问题如下

  1. 我想要使用Input,Textarea等组件,并想要运用于小程序中
  2. 查阅taro中该组件相关的文档后,没有只有H5/RN端介绍了兼容性差异,而微信,支付宝等小程序端没有介绍兼容情况,如下图所示

屏幕快照 2019-11-26 下午12 05 43

3.请问能够补充一下吗
4. 非常感谢!

期望行为

能够在Input,Textarea文

PowerMogli
PowerMogli commented Sep 9, 2019

We are trying to migrate to v4. But now we are failing because we have no clue how to setup a custom auth (api-key) strategy. In v3 we registered our custom api-key strategy at passport like this:

this.passport.use('apikey', new Strategy(verifier));
// and
app.configure(apikey({ header: config.apiKey.header }));

Is there any documentation how to setup a custom (api-key) authentic

hannojg
hannojg commented Aug 9, 2019

I have issues to get Reactotron working in my jest react-native test environment.
Before running a test I simply do
jest.mock("reactotron-react-native");, but then I receive an error stating
TypeError: Cannot read property 'useReactNative' of undefined
![Screenshot 2019-08-09 at 18 01 26](https://user-images.githubusercontent.com/16821682/62792504-bd64b080-bacf-11e9-96a8-0d33089332ac.pn

manish-jain-1
manish-jain-1 commented Oct 18, 2019

Cross-post:
https://stackoverflow.com/questions/58458388/error-testing-animated-react-native-component

Environment: Mac/VSCode with below npm packages:

 "react": "16.6.3",
 "react-native": "0.57.8",
 "jest": "23.6.0",
 "babel-jest": "23.6.0",
 "react-native-animatable": "1.3.1",
 "react-test-renderer": "16.8.6",

Tried below in jest config:

"transformIgnorePatterns": [
react-native-firebase
radex
radex commented Jun 20, 2019

This is to fix: Nozbe/WatermelonDB#186

Right now, deleting records is not very efficient in WatermelonDB.

Say you have models like this: Blog has_many Post has_many Comment. If you want to delete a blog post, you also have to delete all its posts, and all their comments. This happens one-by-one currently. What we need is the ability to efficiently (and atomically if

murking
murking commented Apr 14, 2018

ReactNativeNWReactCalculator@1.0.0 start /Users/zjh-mac/Documents/react/react-native-nw-react-calculator-master
node node_modules/react-native/local-cli/cli.js start

┌────────────────────────────────────────────────────────────────────────────┐
│ Running packager on port 8081. │

mannyhappenings
mannyhappenings commented Aug 28, 2018

While reading docs/readme for this repo, I am analysing the repo for usability of boilerplate. To find meaning of a word, I just google it. But for this one, I need to go deep and I can lost my primary reason for searching for this word. You cannot say RTFM to people if manual doesn't use proper language. #19

ckarmy
ckarmy commented Jan 4, 2019

I download the ZIP and run npm install but then I run expo start and I get:

[11:17:11] Starting project at /Volumes/Sata/repositories/snowflake copy
[11:17:12] Expo DevTools is running at http://localhost:19002
[11:17:12] Error: Missing app.json. See https://docs.expo.io/
[11:17:12] No Expo configuration found. Are you sure this is a project directory

How I solve this?

Th

machour
machour commented Apr 26, 2018

This component could benefit from a refactoring similar to EventsScreen, where every event type would be handled by a dedicated method.

Instead of the big switch/case in render(), we could have something like this:

render() {
    const { repository, event } = this.props;
    const handler = camelCase(`handle_${event.event}`); // lodash's camelCase

    if (typeof this[handler] ==
george-dotdev
george-dotdev commented Feb 18, 2020

Affected Projects
React

Is your feature request related to a problem? Please describe.
Was looking through the change log and the new documentation but could not find any reference to the deprecated DataController.

Describe the solution you'd like
Would be great to get some documentation on the recommended way to migrate from using DataController to not using it.

**Descr

igibliss00
igibliss00 commented Dec 18, 2019

I'm currently using KeyboardAwareScrollView with react-native-google-places-autocomplete and only when the auto-complete component is within KeyboardAwareScrollView, the drop-down suggested addresses from Google does not respond to presses. When the aut0-complete component is without KeyboardAwareScrollView, the component works as expected.

The expected behavior is that when the sugge

DeAnnHuang
DeAnnHuang commented Mar 2, 2017

嗨, 您好
在學習CH05的時候,遇到一個問題
發現在 webpack.config.js 裡面的 module: { preLoaders: [ { ... } ],
似乎造成webpack錯誤 無法執行

如下terminal截圖
image

稍微查了一下,解決方法是用 webpack@2.1.0-beta.22 版本
我目前是 "webpack": "^2.2.0", _應該也

Created by Facebook

Released January 2015

Latest release about 2 months ago

Repository
facebook/react-native
Website
reactnative.com
Wikipedia
Wikipedia

Related Topics

reactjs
You can’t perform that action at this time.