How to start developing an app with redux?
I am new to Redux & have understood the principles, but need practical help to start with redux. How to set environment?
I would highly recommend watching all of the introductory videos on egghead by redux's creator #dan_abramov
This will give you very good idea about all the things in redux.
For further understanding you can go through very extensive Redux docs which covers all the concepts in redux beautifully.
Related
Im new in frontend developer.
And i started to learn Redux toolkit.
In Redux Toolkit we have a function -- createAsyncThunk.
But also i heard about Redux Thunk.
Is Redux Toolkit already included Redux Thunk, or this two approaches are different?
I will be glad if you give me some topic or documentation abouit this.
Yes. RTK adds react-thunk middleware by default, see Included Default Middleware.
In addition to these development tool middleware, it also adds redux-thunk by default, since thunks are the basic recommended side effects middleware for Redux.
Í am A newbie working with the MERN stacks, I just managed to build an ecommerce website from scratch,but then I hear nextjs is good for server side rendering which make our web app load faster and also seo friendly, I looked into the documentàtion, but I am yet to understand how I mange state in next js...càn I use redux,and how?
Thanks
It's easy to integrate redux into Next.js
These examples come from the official Next.js repo
with redux
with redux-toolkit
with redux-thunk
if you want to manage state with redux on server-side, you can follow this example with next-redux-wrappper
It may sound like a really trivial question, But i am developing an Android App with some friends and of course, we use GitHub to collaborate. However, for the server-side logic I am not sure where to store them for collaboration, Do I init a new repo only for those clound functions? Or store them together with my Android app source code?
Generally there is a huge discussion how to do such things. I think that you have to decide by yourself depending of your team structure and technologies used. Personally, once upon a time, I preferred to have them separately, however I then I started to work in huge project which was in one huge SVN repo and it was working good as well. Since than I am not so sure anymore...
In my opinion most important is to align with all team members regarding rules to make them all understand rules and follow the rules in the project.
I can provide you some links for interesting articles/discussions:
link1, link2, link3, link4
I hope it will help!
I'm planning to start a project with ReactJs.Net. At work, I work with Asp.net MVC 5 and vs2015. I choose ReactJs.Net mostly because I want to take advantage of it's server-side rendering. I also want to use Redux for managing app state.
Yet, I cannot see many online resources with example of using ReactJs.Net with Redux. Is it possible to go this way? Anyone know some good online guidance I can follow?
Thanks!
Maybe this would help
https://github.com/pauldotknopf/react-aspnet-boilerplate
https://medium.com/#MaartenSikkema/using-react-redux-and-webpack-with-dotnet-core-to-build-a-modern-web-frontend-7e2d091b3ba
I hope that helps :-)
Just started to discover meteor. created app with DiscoverMeteor book, but misunderstood many moments. then read Your first meteor application and Your first meteor application books. Realized that Todos example is really too simple to cover many important things. And only after that I found the official guide on Meteor.com! now reading about all these complex (for my opinion) things. and have 2 questions:
What router should I prefer to use? I want to create fast app with lots of data loading from the server. Found information that Iron router is deprecated, and Flow router is recommended nowadays, but also found that flow router can not route on server, only on client. And that exactly client routing is the reason why for example soundcloud is really slow. So that is the question - I know nothing about server/client routing, but want to make right decision for the future project.
What ui-framework to use? I read that blaze is easy to start, but react js is really powerful. So: is Blaze enough for serious project (like a popular blog)? Or do I have to learn react js in order not to rewrite code in the future?
I am working with Meteor 1.3.2.4, which is latest in market and believe, you don't have to do anything out of the box to go with experimental UI-Frameworks and stuff.
Blaze template which is handlebars based implementation is best.
Blaze template is very well glued with Socket.io, futures and DDP implementation for cutting edge implementation for asynchronous and reactive behaviour on UI.
Blaze is really good for cumbersome, heavy data websites as well. If you have any doubt, i can skype and show you what i have implemented in just 2 days on development using everything given by Meteor.
React.js, Koa.js (re-written Express framework), express etc are very good and powerful, but I think implementing it at initial level of your grasp is overkill. Go with Blaze first.
There are hundered sitting and developing Meteor.js just for you to be comfortable. I am not at all biased, I am giving you my open opinion.
I worked with Laravel 5.2, Play framework, MEAN.io, DJango in past, but believe there is nothing like pure Meteor js with there own packages. There are many videos on youtube like Meteor nights and stuff where you can find the developers from all around the world developing huge stuff just using stuff given by Meteor js.
For routing flow-router is good, even iron:router is awesome and easily gettable.
This video can guide you very well.
Flow Router is the recommended router by the official Meteor Guide. It's also the popular choice these days, and for a reason: it's a high quality router implementation.
As for MVC, it's really like choosing a religion. React has a huge community, possibly a bright future, and it's not Meteor-only unlike Blaze. But some folks find Blaze templates nicer than JSX files. I think it's easier to get help on StackOverflow if you pick React, but Blaze might be easier to get started.
Maybe this post helps a bit: How to set up React with Meteor?