News for hackers. Stuff that matters.

axemclion

I am not sure if this is specific to React Native. In a regular Android application, this information is available in the JSON file. Having permissive credentials on the client is a security gap, no matter the technology.
If you have questions, you can ping the RN team too. I would love to help !!
> It’s been about 3 years now, with a 10+ person team now, so maybe I should write it all up somewhere.

If you want, we could put this up on the React Native Blog. Would make for an interesting read !!

Re:Facebook moving away from React Native? on Saturday June 02, 2018 @10:45PM (#17217654)
This is incorrect. Here is a response from Tim, who manages the React Native team - https://twitter.com/yungsters/status/989361665752748033

Also, here is a list of all the things that our team has been working on with React Native - https://www.youtube.com/watch?v=1hvQ8p8q0a0

Re:Why Flutter Will Take Off in 2018 on Tuesday November 28, 2017 @10:50AM (#15798276)
I am a member of the React Native Core team

> On the documentation The document is not abandoned. Infact, we are actively working on fixing the document and reaching out to the community to identify gaps in documentation and fixing them. We are also moving docs to a separate repo to make sure that they are easy to contribute to.

> On Typed languages. A lot of people use React Native with Flow or TypeScript, and are able to benefit from type systems.

How are you measuring those metrics on real devices ? Do you use the Chrome tracing timeline ? I wrote a tool called http://github.com/axemclion/browser-perf that does something similar, so was curious !!
Re:Visual Studio 2017 Launch [video] on Wednesday March 08, 2017 @12:42AM (#13818203)
You should be able to use Mobile Center and CodePush separately today. We are planning to incrementally roll out a backward compatible solution over the next 2 months.
CodePush PM here - note that CodePush cannot push any native code to the app.
PM on the CodePush team here. The rejection notice seems to explicitly call out the native methods that are a cause of the issue. CodePush cannot inject private frameworks or expose any methods that React Native already exposes.

I would also recommend not using CodePush to completely what an app does.

Re:Visual Studio 2017 Launch [video] on Tuesday March 07, 2017 @01:17PM (#13813007)
Yes, CodePush can be used with Mobile Center - here is a demo video (https://www.youtube.com/watch?v=lfqZ8Uy2p3U)

CodePush will also be integrated into Mobile Center, so that you can also making CodePush a part of your CI process. We are also working on adding support for Authentication, storage, testing and Push notifications.

[I am the PM on CodePush and React Native Mobile Center stuff]

Re:Time-Travel Debugging for JavaScript/Node.js on Tuesday January 31, 2017 @10:13AM (#13531159)
You can use this same tech to do time travel debugging in React Native apps - http://blog.nparashuram.com/2016/08/time-travel-debugging-wi...
If you guys are trying react native, you could try mobile.azure.com for the devops pipeline.
PM building the VSCode react native extension here. Glad that you could get breakpoints working. There are also other features like syntax completion and simply trying out react native without and installation using exponent that nasty be interesting.

Would love to hear any other feedback you may have on the authoring experience.

Re:Preact rendering in a web worker on Monday December 05, 2016 @03:45PM (#13109353)
There are a bunch of other complexities too - things like

(1) cancelling events which are synchronous, but web worker communication is async

(2) What is the best serialization format ? I found JSON.stringify to be the fastest, but how to compress data better ?

(3) How to batch the operations when you want to send info over from worker to the UI thread. The batch size should be small enough that it runs in 16ms, but large enough that you don't waste frame cycles.

(4) Figuring out if it makes sense to spawn multiple workers to diff parts of the VDOM tree - similar to React Fiber

Re:Preact rendering in a web worker on Monday December 05, 2016 @03:42PM (#13109300)
I did something similar for React - and here is a blog post about what exactly is happening - http://blog.nparashuram.com/2016/02/using-webworkers-to-make...
Re:Preact rendering in a web worker on Monday December 05, 2016 @03:39PM (#13109265)
The performance difference is noticable. I did React into a Web worker, and here are the performance results - http://blog.nparashuram.com/2016/02/using-webworkers-to-make...

Some of the other uses typically are - sort of flow control between the thread and the worker, so that only sufficient VDOM operations are sent across the thread.

This basically leaves the UI thread to other things like GIF animations, redraw UI like buttons when user interacts with them, etc.

Re:React Native for Visual Studio Code on Thursday March 31, 2016 @06:51PM (#11401227)
Actually, you could already use ReactNative with Windows, but there were some quirks.

I just run the packager, with watchman and flow disabled, and it works pretty well. The VS Android emulator is free and so much faster than the default emulator - thats why i use Windows to create Android apps atleast.

Re:React Native for Visual Studio Code on Thursday March 31, 2016 @06:50PM (#11401221)
Hey @taypo - how is that experience going ? Would love to hear how this is working out.

You are right - this was announced at ReactConf 2016

Re:React Native for Visual Studio Code on Thursday March 31, 2016 @06:49PM (#11401215)
You mean something like this - https://github.com/CatalystCode/react-native/ ?
Re:React Native for Visual Studio Code on Thursday March 31, 2016 @06:48PM (#11401207)
Was this not announced at ReactConf 2016 ? :P

Older »