Better HN
topnewbestaskshowjobs
Log inSign up

diegohaz

22 karma · joined Sep 14, 2016 (10y ago) · 25 submissions

Submissions

1.

Show HN: Composable schemas for Node.js and JavaScript(github.com ↗)

2 points · by diegohaz · 8y ago · discuss

comment 8y ago · link · parent

Author here.

This is an opinionated boilerplate that I use to create my own packages [1].

Feedback is appreciated.

[1] https://github.com/diegohaz?tab=repositories

3.

Show HN: Boilerplate for Node.js packages(github.com ↗)

7 points · by diegohaz · 8y ago · 1 comment

4.

Show HN: Redux-saga-thunk = redux-saga plus redux-thunk(github.com ↗)

3 points · by diegohaz · 8y ago · discuss

comment 8y ago · link · parent

The old context was indeed easier to use, but I think the new API is more explicit. It's easier to infer from where things are coming. It has great value in maintainability.

comment 8y ago · link · parent

As I wrote in this article [0], I strongly believe that the new Context API can replace Redux in most apps, not because it's a Redux replacement, but mostly because they didn't need Redux in the first place.

People start their projects with Redux without knowing if they'll actually need it.

[0] https://medium.freecodecamp.org/reacts-new-context-api-how-t...

7.

A curated list of stuff related to the new React Context API(github.com ↗)

32 points · by diegohaz · 8y ago · 7 comments

8.

React's new Context API: How to toggle between local and global state(medium.freecodecamp.org ↗)

7 points · by diegohaz · 8y ago · discuss

comment 8y ago · link · parent

Feedback is really appreciated.

Repo: https://github.com/diegohaz/constate

Demo: https://codesandbox.io/s/7p2qv6mmq

This is something I needed in another project of mine, so I decided to abstract it into a new package: constate.

The goal was to use it to start building a simple application in the most simplest way: using React local state.

Whenever I feel the need to scale up and use some sort of global state, instead of adding redux, mobx or another complex library, I can just add a context property and everything works.

10.

Show HN: A React state management library using the new Context API(github.com ↗)

3 points · by diegohaz · 8y ago · 1 comment

11.

Show HN: Minimalist and highly composable UI toolkit built on top of React(github.com ↗)

2 points · by diegohaz · 8y ago · discuss

comment 8y ago · link · parent

Feedback is really appreciated.

Repo: https://github.com/diegohaz/constate

Demo: https://codesandbox.io/s/7p2qv6mmq

This is something I needed in another project of mine, so I decided to abstract it into a new package: constate.

The goal was to use it to start building a simple application in the most simplest way: using React local state.

Whenever I feel the need to scale up and use some sort of global state, instead of adding redux, mobx or another complex library, I can just add a context property and everything works.

13.

Show HN: A React state management library using the new Context API(github.com ↗)

5 points · by diegohaz · 8y ago · 1 comment

14.

React Context and State = Constate(github.com ↗)

1 points · by diegohaz · 8y ago · discuss

15.

How to write powerful schemas in JavaScript – freeCodeCamp(medium.freecodecamp.org ↗)

2 points · by diegohaz · 8y ago · discuss

16.

New React Context API(github.com ↗)

1 points · by diegohaz · 8y ago · discuss

17.

Node module boilerplate(github.com ↗)

2 points · by diegohaz · 9y ago · discuss

18.

Atomic Design and React(arc.js.org ↗)

1 points · by diegohaz · 9y ago · discuss

19.

Node.js modules generator with the latest c00l things(github.com ↗)

1 points · by diegohaz · 9y ago · discuss

20.

Top 50 JavaScript Plugins and Libraries from 2016(speckyboy.com ↗)

2 points · by diegohaz · 9y ago · discuss

21.

React progressive webapp starter kit(arc.js.org ↗)

2 points · by diegohaz · 9y ago · discuss

22.

Webpack, React Router v4, Jest, Redux, SSR, Yeoman and More(arc.js.org ↗)

2 points · by diegohaz · 10y ago · discuss