tonyhb / tectonic

A declarative REST data loader for React and Redux. Docs @
https://tonyhb.github.io/tectonic/
456 stars 31 forks source link

FAQs #29

Open tonyhb opened 7 years ago

tonyhb commented 7 years ago

q: I deleted an item but it's still in my list a: the model ID was not passed as a parmater to the delete function, therefore we could not figure out which model to remove from the reducer state

greghawk commented 7 years ago

@tonyhb So did you drop the redux-boilerplate to do this instead?

tonyhb commented 7 years ago

Yeah, it's sorta graphql like but for rest APIs. Got tires of the endless action/middleware/normalizr/reducer/reselect ceremony when we cant use graphql.

I'll write up some docs soon then hopefully back to redux ui and the book.

You thinking of using this?

On Wed, Nov 16, 2016, 6:21 PM Greg Hawk notifications@github.com wrote:

@tonyhb https://github.com/tonyhb So did you drop the redux-boilerplate to do this instead?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/tonyhb/tectonic/issues/29#issuecomment-261135941, or mute the thread https://github.com/notifications/unsubscribe-auth/AASsAZw9cb5Dsi4N92lO1AuRzeuEhRQGks5q-7ofgaJpZM4KRVVh .

greghawk commented 7 years ago

@tonyhb I am. I have been going down the path with redux/react and seeing the pros and cons. I was originally looking at what corey house had done with react slingshot but you seem to have a better vetted concept with the boilerplate that separates concerns better. I also wanted to do some work with falcor and you had mentioned where that may play in. If you can believe it my company is mired in angular 1.2, .net mvc and other nonsense. I am trying to put together a boiler/starter that we could use where i could show them the light. I know angular well but I don't like it at all.

tonyhb commented 7 years ago

I hear you. Actually have a semi-start repo for personal projects with boilerplate golang and UI - you're welcome to use it. Will link here in a sec.

Sorry to hear about the angular world dude. I hear C# isn't so bad if that's what you're using though?

On Wed, Nov 16, 2016, 6:36 PM Greg Hawk notifications@github.com wrote:

@tonyhb https://github.com/tonyhb I am. I have been going down the path with redux/react and seeing the pros and cons. I was originally looking at what corey house had done with react slingshot but you seem to have a better vetted concept with the boilerplate that separates concerns better. I also wanted to do some work with falcor and you had mentioned where that may play in. If you can believe it my company is mired in angular 1.2, .net mvc and other nonsense. I am trying to put together a boiler/starter that we could use where i could show them the light. I know angular well but I don't like it at all.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/tonyhb/tectonic/issues/29#issuecomment-261138073, or mute the thread https://github.com/notifications/unsubscribe-auth/AASsAavP8_TB3VLfLmPhzr-CAosUTkqhks5q-72igaJpZM4KRVVh .

tonyhb commented 7 years ago

The project is at https://github.com/tonyhb/personal-starter. It could use some more things like inlining SVGs, https://github.com/styled-components/styled-components, and https://github.com/mbasso/react-decoration though.

The ui is all in ui 😄

greghawk commented 7 years ago

C# is great for windows services. It is and has always been horrible for web. It can do well in enterprise middle-ware situations. There is a .Net core now that is multi-platform like java but it is in its infancy and we all know that things that are new from microsoft take a long time to shake out.

greghawk commented 7 years ago

what made you want to play with golang? More low level without being C?

tonyhb commented 7 years ago

Ah that makes sense. Never used C# but totally understand that it wouldnt be cut out for the web. Ya, you pretty much hit it. Easy concurrency, good standard library which lets you do most stuff (limited readers, pipes, networking, buffering etc.), which has been useful for a few projects. It's actually about as good as it gets for web stuff without holding your hands like rails/elixir. Definitely wanna use elixir next!

What are you working on (both at work and outside)?

greghawk commented 7 years ago

Don't have a lot of outside time. I have two kids and I play in a band. At work I am working to redesign the entire UX flow. I work in UX design as well as dev. I'm a little bit of an oddball that way.

greghawk commented 7 years ago

angular is too monolithic and inflexible to do multivariate and performant ui work. Especially when it is badly written hand me down code.

greghawk commented 7 years ago

@tonyhb I just tried to clone the redux-boilerplate and it says i don't have permission?

greghawk commented 7 years ago

@tonyhb nevermind i was being a gitshit (DipShit)

tonyhb commented 7 years ago

lol no sweat. ah i hear you, family is important as well. lmk if you need anything! tonyhb@gmail.com :)