Seenthis
•
 
Identifiants personnels
  • [mot de passe oublié ?]

 
  • #r
  • #re
  • #red
RSS: #redux

#redux

  • #redux’s
  • #redux-
  • #reduxencoder
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 7/03/2019

    #react — #redux workflow in 4 steps — Beginner Friendly Guide
    ▻https://hackernoon.com/https-medium-com-heypb-react-redux-workflow-in-4-steps-beginner-friendly

    https://cdn-images-1.medium.com/max/1024/1*xw842TNJV4epL2S6RsFE6w.jpeg

    React — Redux workflow in 4 steps — Beginner Friendly GuidePhoto by Lukas at Pexels.comRedux allows you to manage the state of the application via a unidirectional flow where a child component child component can directly access the state from the redux store instead of getting state changes from parent components.I am assuming you have basic knowledge of React and an understanding of what Redux is used for. Without further ado, let’s get straight into the action.This is an ideal react-redux app project structure.Below is a typical workflow of a react app. We will go through each of the steps below in more detail.React-Redux in 4 steps — Medium: @heypb , Insta: h3ypbLet’s see how that flow will occur.1. A user interacts with a frontend component. A prop is used to call a function which initiates an (...)

    #web-development #javascript #programming

    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 26/02/2019

    ANOTHER way to call #restful #api in #redux
    ▻https://hackernoon.com/another-way-to-call-restful-api-in-redux-d8dd991d0779?source=rss----3a81

    https://cdn-images-1.medium.com/max/1024/1*JYGU_MEBZaJfWw4HnQtvcg.jpeg

    ANOTHER way to call restFul API in ReduxAnnouncing a general way to make developer life easier for calling API in #react-Redux.Photo by Randy Fath on UnsplashRecently, I’ve switched from backend development to the frontend side. in first sight, I found API call is truly tough.Why we need to make a type + action + take action (redux-saga)+ handler function ? for each API call?? and again a type + action + reducer to store the result. I keep asking my self.I do a lot of research and all sample and document are the same way more and less. like this example:Moving API requests to Redux-SagaSo I think to the other way, something more functional.API ClientAPI client is a structure to handle the most API call in one place without duplicate codes (DRY). I’ll explain this structure using redux (...)

    #saga

    • #API
    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 24/02/2019

    Getting started with #redux
    ▻https://hackernoon.com/getting-started-with-redux-aa37180dbe93?source=rss----3a8144eabfe3---4

    https://cdn-images-1.medium.com/max/1024/1*aCSXAi9OnqytvWiiuw5O0A.png

    ReduxI have worked on a couple of projects which had Redux, and i see there is a lot of confusion among people who are getting started. My opinion is if we understand “what problem is redux trying to solve” and “responsibilities of the core components of redux”, life will be easier. This post is my attempt on trying to explain these things.The Problem…SPAs(Single Page Applications) these days are pretty complex and they maintain a lot of state in the front end, e.g: api responses, cache data, state of the #ui widgets like spinners and progress bars, etc..Usually we have Models which hold the data and Views which render them. A View can update a single Model or multiple Models, a Model can update another Model and based on these Model changes Views get updated. Because of all these (...)

    #flux #react #frontend

    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 9/02/2019

    How #redux Middlewares can be helpful for you
    ▻https://hackernoon.com/how-redux-middlewares-can-be-helpful-for-you-55dfe152b5e?source=rss----3

    https://cdn-images-1.medium.com/max/1024/1*boXVGSIHh_MrU_UCno9t4w.png

    Scale Your #react Web Application with Redux MiddlewaresWhen it comes to state management in React, Redux is quite popular and does the required job efficiently. Though dispatching actions and updating the store with reducers works great with simple Web Applications, Redux provides a powerful functionality of middlewares which makes your life easy in building a large scale web application.It provides a third-party extension point between dispatching an action, and the moment it reaches the reducer.As the documentation suggests, Redux middlewares work in a similar manner as express middlewares do ( if you come from server-side ). Someway between Action Creators and Reducer, the Middleware intercepts the action object before Reducer receives it and gives the functionality to perform (...)

    #advance-redux #redux-middleware

    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 4/02/2019

    No-boilerplate global state management in #react
    ▻https://hackernoon.com/no-boilerplate-global-state-management-in-react-88c670772b7c?source=rss-

    https://cdn-images-1.medium.com/max/1024/1*oUfR_smb1fsbXnlt1g51dQ.png

    When your React application reaches a certain size and scope, attempting to manage state within component instances adds too much complexity, prop drilling, and code smell. Developers inevitably turn to global state management tools, such as MobX or #redux, to solve these problems and make their lives simpler. I strongly endorse Redux and use it in my personal projects, but not all developers share my sentiment.I have worked on quite a few large projects that have demanded a global state powerhouse behind the React UI. No matter application size, team size, or member seniority, the almost universal opinion of these global state management packages has been overwhelmingly negative.The top two complaints? Boilerplate and learning curve. While these packages solve a lot of problems and (...)

    #react-native #javascript #web-development

    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 21/01/2019

    Organizing Your #react + #redux Application’s Codebase for Future Maintainability and Extensibility
    ▻https://hackernoon.com/organizing-your-react-redux-applications-codebase-for-future-maintainabi

    https://cdn-images-1.medium.com/max/1024/1*0e6fFQQRvkZ1LkeAHAMx7w.jpeg

    As the scope, size, and feature set of your React + Redux application grows, so does the pain of maintaining it, especially when you’re working with a big team, and multiple people work on each feature in your application. In this article, we are going to be exploring how to organize your codebase, to increase maintainability and extensibility.When you first start writing a new React application, the feature set is small, and the React API is simple, yet flexible and powerful enough to handle state management. Eventually however, your application grows bigger, and the shortcomings of React’s setState at handling state management for larger applications become obvious, in a painful manner.So you do a bit of research and figure out Redux is your best bet at handling the growing state (...)

    #javascript #coding-style #react-and-redux

    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 15/01/2019

    DIY #redux with RxJS : Part 3
    ▻https://hackernoon.com/diy-redux-with-rxjs-part-3-87eaf23d4092?source=rss----3a8144eabfe3---4

    https://cdn-images-1.medium.com/max/1024/1*rBO29FpCIE8eeZ_hhBhVSA.png

    Photo by Steve Halama on UnsplashSo far, in the previous two posts, I covered the topics “How to Create a Redux Library with RxJS” and “How to Write Redux Middlewares”. Before starting the 3rd and the last part of the series, I would recommend you to check the first 2 parts below:DIY Redux with RxJS => RxDxDIY Redux with RxJS: Part 2In this part, I will create a HOC (Higher Order Component) to connect RxDx with #react.Component. I assume that you already know about React.Component, so that I won’t be explaining it again. But I need to explain HOCs which is the heart of what I will demonstrate below.What the heck are these Higher-Order Components?Basically, HOC is a class decorator. But what is a class decorator? Sometimes while we are coding we start feeling that all classes we create have (...)

    #front-end-development #javascript #frontend

    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 17/12/2018

    The 7 Deadly Sins of Using #react
    ▻https://hackernoon.com/the-7-deadly-sins-of-using-react-fe832310483b?source=rss----3a8144eabfe3

    https://cdn-images-1.medium.com/max/1024/1*VQ7J57WuvEcVzC_zfM_0WQ.jpeg

    How to screw up a React project and possibly even want to give up on the library altogether.As I was wrapping up this post, my six-year-old daughter asked what I was doing. I told her I was writing about how sometimes people build software the wrong way. She gave me a confused look: “Why would anyone want to do that!?”The reality is that no one ever starts a project with the intent to fail, but as I have worked with React for the past several years, I have seen a few common patterns of failure in both myself and those around me. Here they are in no particular order.Photo by NeONBRAND on Unsplash1. Learning __ while learning ReactReact is a fantastic library. It’s not rocket science, but it does take a little bit of effort to start “thinking in React.” The fewer things you learn at one (...)

    #javascript #redux #software-development #learning-to-code

    • #REACT
    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 7/12/2018

    State management with #react Context, #typescript, and #graphql
    ▻https://hackernoon.com/state-management-with-react-context-typescript-and-graphql-fb6264314a15?

    https://cdn-images-1.medium.com/max/1024/1*NfwIkP-5SfAzIrhfG_hqzg.jpeg

    Tired of debugging type errors in your state? Want up-to-date documentation for your React apps? Read on!Side effects of type errors: Lost dev time and increased irritabilityWhen I first encountered TypeScript, I felt a decent amount of despair: Why did I have to write what felt like more boilerplate code? When using it with React, why did I have to determine the type of every single React prop, and the request and response objects for async calls? And what the hell were intersection and union types?After spending time working with TypeScript, however, I quickly fell in love with it. It saves me from wasting time on dumb type errors, provides dynamic self-documentation, and makes it far easier for my colleagues to understand the expectations set for the code at first glance.My interest (...)

    #javascript #redux

    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 28/11/2018

    How I replaced #redux with Redux
    ▻https://hackernoon.com/how-i-replaced-redux-with-redux-20bb184827c8?source=rss----3a8144eabfe3-

    https://cdn-images-1.medium.com/max/1024/1*8YqtfypVLwHalayvbh5YnQ.jpeg

    Artwork by RJ BarnesAnd how you too can build simple, predictable reducers with #flux Standard FunctionsTL;DRI wrote flux-standard-functions which is a tiny (2.1kb) package for building simple, predictable reducers for Redux. It helps make awesome things easy, like replacing reducer boilerplate with clear, validated, atomic mutations. It works great with both existing and greenfield projects. ⭐ Give it a star! ⭐Redux is HardRedux is the library that everyone loves to hate. Hardly does a day go by that I don’t run across some article claiming that “library X” is killing Redux. Why is Redux “hard” and why are developers so bent on “killing” it?Fundamentally, Redux exists to resolve the tension between “two concepts that are very hard for the human mind to reason about: mutation and asynchronicity.” (...)

    #react #javascript

    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 21/11/2018

    Using #redux + #redux-observable with Vue.js
    ▻https://hackernoon.com/using-redux-redux-observable-with-vue-js-c10faca4b77b?source=rss----3a81

    https://cdn-images-1.medium.com/max/1024/1*0LvGQi63xb0BG6eIbsBASA.jpeg

    Photo by Filios Sazeides on UnsplashWe often claim caution when it comes to refactoring a tech stack.But there always comes a time when it needs to get done.When that happens, you want to pick the right tools:Unless you’ve got stupid amounts of VC money, you can’t afford a complete refactoring every quarter.For our own shopping cart v3.0 rewrite, we picked Vue.js and Redux.Weird mix you say? Not quite! In this post, I’ll show you how and why we strapped Vue.js on top of Redux.More specifically, I’ll cover:What are Redux & redux-observableWhy we chose Redux (over Vuex)How we leveraged redux-observableHow we plugged Vue.js to a reactive storeI’m thrilled to finally share some of our work on this newest version of Snipcart with you guys!Let’s start with a bit of context.What is that cart v3.0 (...)

    #vuejs #frontend #redux-and-vuejs

    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 5/07/2018

    Writing Better #redux’s Code with #typescript
    ▻https://hackernoon.com/writing-better-reduxs-code-with-typescript-b7a3c1209bca?source=rss----3a

    https://cdn-images-1.medium.com/max/1024/1*qL8u7G5aLhMT1zNJBJKV7Q.png

    TypeScript typings power, when used properly, could help us write better code. This article is about how to use TypeScript type system with Redux to create fully typed state management store.I assume that you already know redux and maybe a little bit of TypeScript. I appreciate any inputs, I only tried implementing this recently and I am open to any improvements. This is a highly opinionated and subjective article.I used to write Redux in JS, and then define its actions and types as constants. It is not unusual for me to see something like this.▻https://medium.com/media/35bec13bf0ddb0af1fe08dca69855d07/hrefThe problem with the code above was, well, AUTH_TYPES can’t be changed as a whole, but this could happen.▻https://medium.com/media/510154afa7c8e27bf94b324d4e7eb728/hrefWell, we can fix (...)

    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 18/06/2018

    #react — #redux for lazy developers. Part 3
    ▻https://hackernoon.com/react-redux-for-lazy-developers-part-3-319b639a22c3?source=rss----3a8144

    https://cdn-images-1.medium.com/max/480/1*Vg5b1em7KX2XLQpp1hJmmw.png

    It’s the last part of series about creating react redux app.In previous two parts I described how to create classic react redux app, then I made full test coverage of app post module and replaced all redux stuff (action types, action creators, reducer and container) by 7 lines of Redux Lazy — a library created to make redux development more declarative.In this article I’ll show how to add logic in react redux app using #redux-observable, recompose and reselect.Links to previous parts:React — redux for lazy developersandReact — redux for lazy developers. Part 2I’ll use code from the second part. You can find it on github.I updated #redux-lazy: options docs, new tests…After small refactoring you can get 100% the same results like using redux stuff (even better — see form onSubmit):rl.js (...)

    #react-redux

    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 17/06/2018

    #relay vs #redux: Which one you should choose?
    ▻https://hackernoon.com/relay-vs-redux-which-one-you-should-choose-6895fb72dfba?source=rss----3a

    Many companies and developers ask themselves this question if they start talking about managing data inside a #react app. Usually, criteria are simple: easy to set up, easy to work with, decent documentation, large community. If we start considering relay and redux by these criteria which one will win? Let’s figure it out!What is Relay?Relay is a data manager from Facebook. It was initially built for react-native apps but later it became a tool for web apps as well.The idea of Relay is simple: you app needs to fetch only data your users need. It’s declarative way of describing what data is needed. A simple relay query would look like this:▻https://medium.com/media/8f945e452e651a96f7d4a37987a5cb92/hrefWe ask for user’s first name and last name. The server will only return to us these two (...)

    #graphql #relay-vs-redux

    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 8/06/2018

    Getting Started with #react-Redux
    ▻https://hackernoon.com/getting-started-with-react-redux-1baae4dcb99b?source=rss----3a8144eabfe3

    https://cdn-images-1.medium.com/max/800/1*VeM-5lsAtrrJ4jXH96h5kg.png

    Let me set the stage: you’ve come up with a great idea for a web app, and you’ve decided to build it with React. By way of completely arbitrary example, let’s say it’s a guitar chord finder with an interactive guitar neck and a submission form (like, say, this one).Shameless self-promotion!You’ve made a couple to-do lists, watched a couple tutorials, and you think you’ve got the hang of all this “props” stuff, so you jump right in. It’s going well enough — you’ve got your top level app component, maybe a form, a guitar component… and then, it starts to dawn on you. You’re going to need a guitar… with six strings… with twelve frets each… which all need to communicate information about whether or not they’re muted, pressed, or open…which need to be able to communicate with the form and express a chord… (...)

    #javascript #tutorial #programming #redux

    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 16/05/2018

    #angular+FLUX architecture — Introduction
    ▻https://hackernoon.com/angular-flux-architecture-introduction-f051a24aedfe?source=rss----3a8144

    https://cdn-images-1.medium.com/max/1024/1*Phg_9259Vl8tNHyCh_W3sg.jpeg

    In recent years in the front-end (FE) world, especially with the rise of React as an AngularJs alternative, a hot debate has broken out on the following topic: “The best architecture for the FE application.”So we asked ourselves: What architecture suits our needs the best, and why? How do we pick one, considering that we want to reduce the technical debt and grow the team and/or the codebase? This might be the most common problem every programmer will face at least once in his or her career.In this article we will explain why we picked the #flux architecture and how it can be used in a medium-sized AngularJs application. We will break down the architecture fundamentals and apply them to a real world scenario. And finally, we will discuss the pros and cons of this approach.What is Admin (...)

    #upgrade #redux #ngrx

    • #REACT
    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 8/05/2018

    The Sagas of #redux
    ▻https://hackernoon.com/the-sagas-of-redux-c0461fd9997f?source=rss----3a8144eabfe3---4

    https://cdn-images-1.medium.com/max/1024/1*7UYXEJNcYEPH0PrlZDcvyg.jpeg

    This article is a birds-eye view of the Saga concept and its application in Redux. It won’t cover code implementations for there are plenty of Redux Saga tutorials and the documentation is well written.Redux together with #react provide one of the most powerful front end setups that you can use nowadays. Using those two libraries as the foundations of your tech stack is an easy decision to make when you are looking for scalability, performance and ease of use.In the scope of this article we will look into Sagas. A specific way to handle asynchronous side-effects in Redux applications and the benefits we get from them.When I first started dealing with React and Redux, the best way to handle asynchronous side-effects was using thunks or some promise resolving middleware.Then I ventured into (...)

    #redux-saga #sagas-of-redux #javascript

    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 9/04/2018

    Tutorial: SSR Split Testing and #analytics with #react, #redux, and Next.js
    ▻https://hackernoon.com/tutorial-ssr-split-testing-and-analytics-with-react-redux-and-next-js-53

    https://cdn-images-1.medium.com/max/810/1*Yfy9qOJwzCxxK9bdOAOpFA.png

    “The Lean Startup” by Eric Reis prescribed some medication for our venture’s success: Build, Measure, Learn, repeat. This post focuses on the “measure” portion.Split Testing and Analytics are not features, they are requirements.How can you know if anything is working if you don’t know what users are even doing? How can you know if an approach is more or less successful if you are not measuring?“When launching a new funnel, you don’t necessarily expect it to work right away — you are buying data.” — Ruda KrishnaNot only are Split Testing and Analytics requirements; they are also equalizers. They can help your team eliminate “HiPPOs” or the Highest-Paid Person’s Opinion.This is when despite evidence for a solution being strong, the highest paid person’s opinion is still what ultimately gets implemented… (...)

    #nextjs #ab-testing

    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @simongeorges
    simongeorges @simongeorges CC BY 6/04/2018

    #React 16.3 : Introduction de la context API
    ▻https://makina-corpus.com/blog/metier/2018/react-16-3-utilisation-de-la-context-api

    React 16.3 apporte son lot de nouveautés, mais surtout la version stable de la context API.

    #React_Native #JavaScript #Redux #News_Item

    simongeorges @simongeorges CC BY
    Écrire un commentaire
  • @nicod_
    nicod_ @nicod_ 4/12/2016

    Read Me · Jumpsuit
    ▻https://jumpsuit.io

    Jumpsuit is a powerful and efficient Javascript framework that helps you build great apps. It is the fastest way to write scalable React applications with the least overhead.

    #javascript #react #reactjs

    nicod_ @nicod_
    • @nicod_
      nicod_ @nicod_ 4/12/2016

      ▻https://medium.com/@tannerlinsley/jumpsuit-react-redux-made-simple-e3186ba1b077

      There are countless reasons that people love #React + #Redux, but we’ve found that learning how to put two and two together is not an easy task for most, and becoming productive with the combo is just as difficult. Every tutorial and starter-template that we could find seemed to be stuffed full of quick-start-boilerplate that often ends up being more confusing than helpful, and redux implementations that felt way too verbose for what they were accomplishing. So we set out to build a #tool that would make all of this easier…

      nicod_ @nicod_
    Écrire un commentaire
  • @archiloque
    Archiloque @archiloque CC BY 11/03/2016
    6
    @fil
    @rastapopoulos
    @b_b
    @cy_altern
    @james
    @mukt
    6

    State of the Art JavaScript in 2016
    ►https://medium.com/javascript-and-opinions/state-of-the-art-javascript-in-2016-ab67fc68eb0b

    • #programmer
    • #JavaScript
    Archiloque @archiloque CC BY
    • @fil
      Fil @fil 11/03/2016

      #programmer #javascript : #react #redux #electron etc

      Fil @fil
    • @b_b
      b_b @b_b PUBLIC DOMAIN 13/03/2016

      #eslint

      b_b @b_b PUBLIC DOMAIN
    Écrire un commentaire
  • @fil
    Fil @fil 17/09/2015
    1
    1

    #Redux is a predictable state container for #JavaScript apps
    ▻https://rackt.github.io/redux/index.html

    Redux helps you write applications that behave consistently, run in different environments (client, server, and native), and are easy to test. On top of that, it provides a great developer experience, such as live code editing combined with a time traveling debugger.

    Fil @fil
    Écrire un commentaire
  • @k1ng0fno0b
    K1ng0fNo0b @k1ng0fno0b 24/05/2014

    #Metro : #Redux - Annoncé officiellement sur #Xbox One, #PS4 et #PC | Monhardware.fr
    ▻http://www.monhardware.fr/metro-redux-annonce-officiellement-sur-xbox-one-ps4-et-pc

    Metro : Redux – Annoncé officiellement sur Xbox One, PS4 et PC

    K1ng0fNo0b @k1ng0fno0b
    Écrire un commentaire
  • @nhoizey
    Nicolas Hoizey @nhoizey CC BY-NC-SA 19/01/2010

    The Blog of st373n - Asterisk, ReduxEncoder, FilmRedux, IRC, ATV, iPhone and more…
    ►http://blog.easelnet.net

    “here you’ll info relating to ReduxEncoder, a video transcoding tool for mac os x”

    #ReduxEncoder #mac #logiciel #vidéo #conversion #FilmRedux

    Nicolas Hoizey @nhoizey CC BY-NC-SA
    Écrire un commentaire
  • @nhoizey
    Nicolas Hoizey @nhoizey CC BY-NC-SA 13/09/2009

    Transcoder Redux
    ►http://www.transcoder-redux.com

    Once upon a time, there was a magical program, called Visual Hub. Adoring fans used it to convert tons of videos, and there was much rejoicing. Unfortunately, all good things must come to an end. Visual Hub is no more, but through the power of Free Software, it has arisen again.

    #Visual #Hub #Transcoder #Redux #conversion #vidéo #mac #logiciel #libre #gp:links

    Nicolas Hoizey @nhoizey CC BY-NC-SA
    Écrire un commentaire

Thèmes liés

  • #react
  • #javascript
  • #conversion
  • #vidéo
  • #redux
  • #mac
  • #logiciel
  • #flux
  • #frontend
  • company: react
  • #redux-observable
  • #javascript
  • #react
  • #reduxencoder
  • #programming
  • #graphql
  • #filmredux
  • #web-development
  • position: programmer
  • #gp
  • #libre
  • #typescript
  • #transcoder
  • #hub
  • #visual