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 19,673 public repositories matching this topic...

storybook
lancevalour
lancevalour commented Oct 23, 2019

Describe the bug
In the config.js addParameters function, if I set isFullscreen: true and open the webpage, it is fullscreen on startup. But if I set isFullscreen: false and open the webpage again, it is still full-screen on startup.

To Reproduce

  1. Set isFullscreen: true, open the webpage,
  2. Close the webpage or stop the server
  3. Set isFullscreen: false, open the webpa
Rychou
Rychou commented May 6, 2019

问题描述
最近使用movable-view做了一个拖拽排序的功能,但是由于需要touchmove事件频繁setState来更新movable-view的坐标,导致Android的上的性能体验很差,IOS不会。

看了微信的文档,这种情况可以使用WXS来解决,请问Taro中能否使用WXS?如何使用呢?

参考文档: https://developers.weixin.qq.com/miniprogram/dev/framework/view/interactive-animation.html
https://developers.weixin.qq.com/miniprogram/dev/framework/performance/tips.html

formik
krichter722
krichter722 commented Apr 19, 2020

🚀 Feature request

Current Behavior

The type ErrorMessage doesn't have an id property.

Desired Behavior

It'd be nice id?: string would be added to the type ErrorMessage and set on the outermost component that serves as error message.

Suggested Solution

Add id={this.props.id} to the outer component in ErrorMessage.

Who does this impact? Who is this

ozkanonur
ozkanonur commented Apr 13, 2020

Issue type:

[x] question
[ ] bug report
[ ] feature request
[x] documentation issue

Database system/driver:

[ ] cordova
[x] mongodb
[ ] mssql
[ ] mysql / mariadb
[ ] oracle
[ ] postgres
[ ] cockroachdb
[ ] sqlite
[ ] sqljs
[ ] react-native
[ ] expo

TypeORM version:

[x] latest
[ ] @next
[ ] 0.x.x (or put your version here)

mattermost-server
fabio-boldrini
fabio-boldrini commented Feb 17, 2020

Description

I tried to create via REST a Bot without setting the username and I get an "Invalid email" error

Steps:

POST http://localhost:8065/api/v4/bots
{"display_name":"Alfred","description":"CMS Automation"}

And response is:

`{"id":"model.user.is_valid.email.app_error","message":"Invalid email","detailed_error":"","request_id":"4by66j8tcjfpmjn65sjjbrwn1y","status_code":4

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

swr
ahmedelgabri
ahmedelgabri commented Jan 13, 2020

A bit of context, we introduced swr two weeks ago to our codebase. Everything is working fine, but we started to get some reports about some parts of the app being broken in slightly older browsers (Chrome 49, Firefox 59, Edge 18, etc…)

We found out that swr was causing a syntax error in these browsers because webpack by default picked the ESM build (rightly so) but because it's not transp

joaovbibiano
joaovbibiano commented Apr 18, 2020

Hey there! Ignite CLI seems to be having a problem, eh?

Welllllll, it just might be. First, search the issues to make sure it's not already
here, and if not head over to http://community.infinite.red to
get some help. If you've identified that it's really an Ignite CLI issue, then:

  • Explain what's going on and preferably how to replicate the issue (bonus points for a repro app)
  • Run
GuillaumeSpera
GuillaumeSpera commented Nov 15, 2019

Bug

For the component Marker, the type of value retrieved from onPress={e => console.log(e.nativeEvent)} does not match the documentation NOR the index.d.ts

What is being logged :
{ action: "marker-press", coordinate: { latitude: 0, longitude: 0 }, id: "unknown", target: 77 }

Environment info

React native info output:

Created by Facebook

Released January 2015

Latest release Today

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

Related Topics

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