Boris Cherny

Results 252 comments of Boris Cherny

Hey @sandervalstar, that's an interesting idea! Which parts of Undux were you able to reuse for your Angular implementation - was it just `StoreDefinition`?

Really neat work @sandervalstar! Using Undux at facebook, I’m actually moving in the other direction, towards less dependencies and a mono-package. That’s because the module bundling system we use for...

Hey @mironal! No plans to do this yet, but let’s keep this issue open in case there’s demand for it. You might also consider using a spread as simple syntactic...

Great idea! Let me think about the best way to compare.

This is a really great idea. Want to submit a PR?

@elderapo By passing the `store` in as an argument, I'm hoping to avoid name collisions. I'm also hoping to avoid `mapStateToProps`/`mapDispatchToProps` for their extra complexity. Other APIs might include using...

> Personally, this is the main turn-off for me with undux because IMHO it goes against React conventions. It feels wrong to call getter methods in my components. This also...

Turns out, auto-detecting which fields are used isn't possible to do in all cases. The best option for an API here is to overload `useStore` to accept a key: ```js...

Definitely worth playing around with this idea! Want to try submitting a PR with API #3 from https://github.com/bcherny/undux/pull/69? I'd suggest adding a bunch of unit tests to assert how many...

Yeah, there's probably room for optimization here! Want to put up a proof of concept PR, with some tests to make sure it works as expected? In general, the React...