Earlier quoted context omitted.
Well, typescript is nice. But. The amount of boilerplate I write with redux is downright annoying, add typescript to the mix and the interfaces, typedefinitions, enums, various scattered exports, actioncreators and typehelpers are just mind-boggling - I don't like it. Heck, I already have huge livetemplates in my ide to generate most of these stuff, but it feels wrong. And while we have fun writing "enterprise qualit…
Hi, I'm a Redux maintainer. We're currently working on a package called `redux-starter-kit` that contains some utilities to help simplify common concerns about Redux, including store setup, generating action creators, and writing reducer logic and immutable updates: https://github.com/reduxjs/redux-starter-kit I'd appreciate it if you could take a look, try it out, and give us some feedback. It's currently JS-only, b…
Show HN: I Built a Metasearch Engine with React, Redux, Express and TypeScript
31–40 of 46 posts
Re: Show HN: I Built a Metasearch Engine with React, Redux, Express and TypeScript
#32Earlier quoted context omitted.
Hi, I'm a Redux maintainer. We're currently working on a package called `redux-starter-kit` that contains some utilities to help simplify common concerns about Redux, including store setup, generating action creators, and writing reducer logic and immutable updates: https://github.com/reduxjs/redux-starter-kit I'd appreciate it if you could take a look, try it out, and give us some feedback. It's currently JS-only, b…
Hi, I've not actually used redux at any scale but I have used react a lot (sounds silly?). I was wondering, would it be possible to have something like a strict subset of redux with minimal boilerplate and very few and very simple API functions which are redux compatible. But which can eventually be swapped with the full Redux library if need be?
Re: Show HN: I Built a Metasearch Engine with React, Redux, Express and TypeScript
#33Earlier quoted context omitted.
Thanks, it started out as regular, valid JS, then I figured I might as well convert it to TypeScript, and I did so (perhaps too) quickly. I do plan to add stronger typing later.
What advantages did you get from typescript? Seems like type safety is a huge trade off from what you lost by adding those amounts of complexity, especially when you’re not really utilising it.
But still, it can still save you from obvious mistakes even for a one man project.
Re: Show HN: I Built a Metasearch Engine with React, Redux, Express and TypeScript
#34Earlier quoted context omitted.
Well, typescript is nice. But. The amount of boilerplate I write with redux is downright annoying, add typescript to the mix and the interfaces, typedefinitions, enums, various scattered exports, actioncreators and typehelpers are just mind-boggling - I don't like it. Heck, I already have huge livetemplates in my ide to generate most of these stuff, but it feels wrong. And while we have fun writing "enterprise qualit…
State management can be simplified using streams & the meiosis pattern. No real need for redux/mobx/etc
Re: Show HN: I Built a Metasearch Engine with React, Redux, Express and TypeScript
#35I was looking into how google was implemented initially with the pagerank algorithm and I think I am getting closer. Do they still use the same algorithm? I ahve no concept of how things behave when they scale or how to scale for that matter.
Re: Show HN: I Built a Metasearch Engine with React, Redux, Express and TypeScript
#36Earlier quoted context omitted.
What advantages did you get from typescript? Seems like type safety is a huge trade off from what you lost by adding those amounts of complexity, especially when you’re not really utilising it.
You'd get more benefit if you're developing API where random others are consuming your code for them to use API properly. But still, it can still save you from obvious mistakes even for a one man project.
Re: Show HN: I Built a Metasearch Engine with React, Redux, Express and TypeScript
#37Earlier quoted context omitted.
You'd get more benefit if you're developing API where random others are consuming your code for them to use API properly. But still, it can still save you from obvious mistakes even for a one man project.
I agree but I’d pick graphql for that instead of typescript.
Re: Show HN: I Built a Metasearch Engine with React, Redux, Express and TypeScript
#38Re: Show HN: I Built a Metasearch Engine with React, Redux, Express and TypeScript
#39Earlier quoted context omitted.
Heh. Wait, you're joking right?
Well, typescript is nice. But. The amount of boilerplate I write with redux is downright annoying, add typescript to the mix and the interfaces, typedefinitions, enums, various scattered exports, actioncreators and typehelpers are just mind-boggling - I don't like it. Heck, I already have huge livetemplates in my ide to generate most of these stuff, but it feels wrong. And while we have fun writing "enterprise qualit…
Re: Show HN: I Built a Metasearch Engine with React, Redux, Express and TypeScript
#40Earlier quoted context omitted.
Heh. Wait, you're joking right?
Well, typescript is nice. But. The amount of boilerplate I write with redux is downright annoying, add typescript to the mix and the interfaces, typedefinitions, enums, various scattered exports, actioncreators and typehelpers are just mind-boggling - I don't like it. Heck, I already have huge livetemplates in my ide to generate most of these stuff, but it feels wrong. And while we have fun writing "enterprise qualit…
Also, I am working on a library which aims to centralize all of the redux constructs into reusable modules. It doesn't eliminate all if the boilerplate, but I think it makes it easier to add things to the store. https://redux-dynamic-modules.js.org