Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
vjeux
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
181.
▲
Prettier 1.0
(jlongster.com)
270 points
by
vjeux
10y ago
|
76 comments
182.
▲
by
vjeux
10y ago
Note that there is a formal specification for JSX: https://facebook.github.io/jsx/ This has been helpful to make sure that all the tooling around JavaScript can work with JSX.
183.
▲
by
vjeux
10y ago
I wrote a blog post a while ago about how JSX relates to E4X if you are interested: http://blog.vjeux.com/2013/javascript/jsx-e4x-the-good-parts...
184.
▲
by
vjeux
10y ago
For the higher compensations, the large of it is stock bonus. Unlike base pay, it's hard to count annually for a few reasons: - They usually vest over four years with a one year cliff. - The big grants are given sporadically to reward
185.
▲
by
vjeux
10y ago
If you are interested in this sort of work, we've been doing this for years at Facebook and are publishing all our "codemods" in a repo: - JS: https://github.com/cpojer/js-codemod/tree/master&#x
186.
▲
by
vjeux
10y ago
Here's a more indepth technical article from Facebook: https://code.facebook.com/posts/557147474482256/this-browser...
187.
▲
Fast Source Map Generation for React Native
(medium.com)
17 points
by
vjeux
10y ago
|
0 comments
188.
▲
by
vjeux
10y ago
FYI, both PHP and JavaScript do have a specification. PHP Specification: https://github.com/php/php-langspec/blob/master/spec/00-spec... JavaScript Specification: http://www.ecma-internat
189.
▲
by
vjeux
10y ago
For 1), those are not bugs but to simulate if then else. If the width is < 800, then do that, else do that. Then problem is that if then else is not linear so you can't express this. What they do is to put bigger weights than anythi
190.
▲
by
vjeux
10y ago
One motivation for reimplementing a layout engine for React Native was to solve this exact problem that CSS doesn't address. We have LayoutAnimation inside of React Native which lets you do that. It's not very well documented and
191.
▲
by
vjeux
10y ago
Parallelization is something that I've wanted to do for a long time and as you mentioned, flexbox is well suited for that :) Would love for someone to try and implement it!
192.
▲
by
vjeux
10y ago
(Original author of css-layout here) I've spend a few months playing with Cassowary before working on css-layout and had long chats with its creator Greg Badros and the people behind https://gridstylesheets.org/ . Casso
193.
▲
by
vjeux
10y ago
Can you open an issue in the repository please :)
194.
▲
by
vjeux
10y ago
We completely revamped the React Native getting started experience a month ago. Let me know if it's easier now: http://facebook.github.io/react-native/docs/getting-started....
195.
▲
by
vjeux
10y ago
React Native already has `react-native init <project-name>` command that works in a similar fashion.
196.
▲
by
vjeux
10y ago
Integration with now.sh ( https://zeit.co/now/ ) and uploading to gh-pages is something that was cut for the release but we are thinking about doing :)
197.
▲
Create React Apps with No Configuration
(facebook.github.io)
777 points
by
vjeux
10y ago
|
241 comments
198.
▲
by
vjeux
10y ago
There is a good talk from a Facebook engineer about this for JavaScript: https://www.youtube.com/watch?v=d0pOgY8__JM It usually goes like this: - You make your API backward compatible. - You use grep to try and find all the
199.
▲
by
vjeux
10y ago
You're unfortunately not the only one that doesn't use prod for doing benchmarks and potentially also not for actual production. If you have ideas on how we could better educate people about the difference, I'd love to know.
200.
▲
by
vjeux
11y ago
As a developer in the node ecosystem, you run npm install multiple times a day. If one of the dependency you require has been infected, it will look for all the packages you own on npm and will publish a new infected version. Now any time a
201.
▲
by
vjeux
11y ago
I want to clarify some points on React Native. Unlike what is commonly said, my goal with the project is to make the web better. A fundamental problem with the web as it exists right now is that as a "user", you cannot go one leve
202.
▲
by
vjeux
11y ago
Ideas for improvement: - Add 2 factor authentication for npm publish - When you npm install, add a warning for all the versions that got published without 2 fac - pre-install/post-install scripts should require user to accept or refuse
203.
▲
by
vjeux
11y ago
For reference, we haven't spent any time trying to optimize the react website for perf. Also that front page really needs to be rethought, we haven't updated it since launch...
204.
▲
by
vjeux
11y ago
You can use React to render static websites. You get the nice component model and the speed of static content. You can take a look at the react native[1][2] website for an example. [1] http://facebook.github.io/react-native&
205.
▲
by
vjeux
11y ago
Let me know if you have ideas to make the react website faster :)
206.
▲
by
vjeux
11y ago
The great thing about writing the layout computation code is that specs are mostly additive. You can start by supporting only a few properties and then as you progress support more and more. I've used this approach for css-layout[1] an
207.
▲
by
vjeux
11y ago
"They then bombarded the Federal Reserve Bank of New York with nearly three dozen requests to move money"
208.
▲
by
vjeux
11y ago
Take a look at the showcased apps on the React Native website: http://facebook.github.io/react-native/showcase.html
209.
▲
by
vjeux
11y ago
http://conf.reactjs.com/ We put the most up to date version on this page
210.
▲
by
vjeux
11y ago
they will
More ›