gaearon / ama Goto Github PK
View Code? Open in Web Editor NEWThis project forked from aviflombaum/ama
Ask me anything!
This project forked from aviflombaum/ama
Ask me anything!
Any tips/advice/some of your aha-moments that made you look differently at code/problems?
What do you think make you a better developer than the average one?
SPA frameworks such as AngularJS, Ember and backbone are still around. As React-based frameworks have come into prominence, will SPA frameworks be replaced soon?
Do you regret it?
It still needs a few features like searching, panning, and zooming to be usable for large state trees. Also, a dockable component is a suggestion I got and I think it would indeed be nice to have a button in a corner to pop in/out the chart.
So I figured I'd ask your opinion about it since your talk at RE on Redux dev tools inspired me to release this one. What do you think?
i.e. if you were constantly funded via patreon or something similiar
While eating lots of raw meat at a paris café, you, me, and my wife already figured out that Seattle is the place you and your wife would like to be.
Other reasons:
When did you start making things digitally?
When did you know it had become an important part of your life?
We all know that you are a React enthusiast, but are there things in React and Redux that you personally dislike or think could be done better? Those could be fundamental aspects or just small details.
2? 4? 20?
What does your work schedule look like / Do you sleep? What is your trick to getting so much done consistently?
for reference: https://github.com/css-modules/css-modules
Hi Dan,
I saw the issue mentioning that babel doesn't work well with flow, and that flow is not on the near term roadmap for redux. I also saw that some people have been contributing typescript definitions.
Do you have any pointers on how to use types with redux? This is coming from the perspective of migrating an app that is built with php, jquery, and pjax into react, redux, and immutable.
Thanks,
David
What is the balance between analysis (taking things apart) and synthesis (putting things together) in your thinking process?
How do you express those gifts or skills outside of your open source work?
Say, you're working on a mature legacy SPA webapp based primary on jQuery with some newer features already implemented with React. The JavaScript code is structured in old-school modules (and there's a lot of them):
(function(global) {
// ...
global.MyModule = {...};
})(window);
Could you describe your approach on how to introduce CommonJS/ ES6/ Webpack modules to such project?
Thanks.
I always feel painful when test something like this:
import 'isomorphic-fetch';
import { normalize } from 'normalizr';
import { camelizeKeys } from 'humps';
export function callGetApi(endpoint, schema) {
return fetch(endpoint)
.then(response => {
return response.json().then(json => ({ json, response }));
})
.then(({ json, response }) => {
if (!response.ok) {
return Promise.reject(json);
}
const camelizedJson = camelizeKeys(json);
return normalize(camelizedJson, schema);
});
}
I see you also suggest using mocha as test engine in redux. Do you have any prefer ways or examples to test a function like this?
Unit test with some mocks & stubs or any other ways?
Thanks
Editor, terminal, tools, themes, fonts, process, etc.
As we can see in results here: https://css-tricks.com/poll-results-for-managing-styles-with-javascript/ tons of people at least not ready for inline styles.
So, what are you think where is all comes? Inline styles "win" and most of big projects begin to use it and browsers will play around it, or mb people don't accept it and this comes to a standstill?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.