Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
brentvatne
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
1.
▲
SwiftUI renderer for React Native
(blog.swmansion.com)
2 points
by
brentvatne
6y ago
|
0 comments
2.
▲
by
brentvatne
8y ago
indeed! this plugin does the trick too: https://www.npmjs.com/package/eslint-plugin-react-native-glo...
3.
▲
by
brentvatne
8y ago
re: react-navigation, I am one of the two primary maintainers of this project and I started working on it in January of this year because it was in a pretty rough state. I think it has come a long way in that time even though there is still
4.
▲
by
brentvatne
9y ago
I can't speak to the original intentions of the authors, but I suspect it might be related to difficulty of making significant changes to the project due to some strongly held beliefs. An example: react-native depends on alpha/bet
5.
▲
by
brentvatne
9y ago
There is some undesirable horizontal scrolling on this page for me (mbp 13") -- fixed by adding `overflow: hidden` to `div role="main"` element.
6.
▲
by
brentvatne
9y ago
It integrates with it using the snack-sdk: https://github.com/expo/snack-sdk repl.it integrates this with their classrooms product to make it into a structured learning tool with assignments and automatic evaluation of
7.
▲
Pkg – Package your Node.js project into an executable
(github.com)
55 points
by
brentvatne
9y ago
|
5 comments
8.
▲
by
brentvatne
10y ago
Sorry about that, the site was down for about 6 minutes around when you visited it.
9.
▲
by
brentvatne
10y ago
We use Apollo for the http://expo.io/ client and have found it to be extremely pleasant to use. I love how flexible it is too -- you can use it for weird things like building an ORM layer for SQLite. For example: https:&#x
10.
▲
by
brentvatne
10y ago
Here's a fun example of a pretty common UI pattern -- the header transitions into another as you scroll, and the hero image scales / fades depending on scroll position too: https://sketch.expo.io/SyVvB3Hjx -- it u
11.
▲
by
brentvatne
10y ago
Sketch, create-react-native-app and React Native Express are a great combo I think ;) (for people who aren't aware of it, React Native Express is a fantastic site for getting your bearings with React Native: http://www.react
12.
▲
by
brentvatne
10y ago
I'm confused what the point of your comment is. If you can do it natively you can do it with React Native. "The jump" for any app from not including Rollout-style invocations to including them is the same if it's a React
13.
▲
by
brentvatne
10y ago
Hi there! - This guide from Microsoft explains how to use typescript: http://www.reactnative.tools/tutorials/2016/09/20/reactnativ... - This is a bit old but could help with Mocha setup: https:/&#x
14.
▲
by
brentvatne
10y ago
Hello! The examples use a navigation library that is implemented entirely in JavaScript and it does not currently aim for 100% accuracy for platform gestures and animations. Pure JS navigation is a work in progress with React Native but, in
15.
▲
by
brentvatne
10y ago
> taking a queue s/queue/cue
16.
▲
by
brentvatne
10y ago
this is correct
17.
▲
by
brentvatne
10y ago
this is indeed the project mentioned in the roadmap!
18.
▲
by
brentvatne
10y ago
react-navigation has very different goals, and it's still in beta, things like transitions are likely to change significantly before 1.0 release. The main difference in the goals is that react-navigation is intended to be entirely cros
19.
▲
by
brentvatne
10y ago
yup! the documentation uses react-navigation: https://github.com/react-community/react-navigation/blob/mas...
20.
▲
Mux: Resolves promises in data structures like arrays, objects, Maps, and Sets
(github.com)
2 points
by
brentvatne
10y ago
|
0 comments
21.
▲
by
brentvatne
10y ago
This is the best way to get started learning React Native, really amazing work Devin!
22.
▲
by
brentvatne
10y ago
Do they have a ViewPager? A DrawerLayout? Swipable rows in lists (eg: to delete an item)? Also v2 is not the best thing to point to because it's very new and I don't think many people are using it compared with v1. And closed issu
23.
▲
by
brentvatne
10y ago
The browser has a bunch of behaviors that get in the way. The Ionic team could speak better to what is preventing them from implementing these gestures, or you could browse their issues to get an idea too: https://github.com/
24.
▲
by
brentvatne
10y ago
Agreed, they've done a really great job and pushed it to the limits. Unfortunately they do not have support for even simple gestures, so the parent comment still applies -- afaict it's not possible with WebViews currently.
25.
▲
by
brentvatne
10y ago
I think 60fps is not "extreme performance" but rather expected performance for a mobile app. Only one part of this article was about performance, anyhow.
26.
▲
by
brentvatne
10y ago
Deco is great! We'd love to get Exponent and Deco playing well together, we've discussed it with their team but haven't had the time yet -- it'll happen one day.
27.
▲
by
brentvatne
10y ago
There are a few of ways to do this right now: - Fork the Exponent client and add your native API. - Try to get a patch into upstream. - If it's not urgent, ask us if we plan to implement it and if it seems like a common enough use case
28.
▲
by
brentvatne
10y ago
For unit tests, we prefer Jest. We don't have a preference for acceptance testing, you could use Appium or similar tools for that.
29.
▲
by
brentvatne
10y ago
To add on to Jesse's answer, Charlie Cheever (co-founder of Exponent with James Ide) wrote a blog post about this recently: "Exponent is Free" - https://blog.getexponent.com/exponent-is-free-as-in-and-as-i...
30.
▲
by
brentvatne
10y ago
Hi all! Thanks for the post! Here are some links to help you check out Exponent and get any idea what it can do -- all you need to do is download the Exponent client from the app / play store and you can open any of these: - Pocketgear
More ›