Coder Social home page Coder Social logo

richardbray / no-redux Goto Github PK

View Code? Open in Web Editor NEW
78.0 3.0 26.0 3.98 MB

⚛️ 🎣 Experimenting with using hooks and context instead of Redux

Home Page: https://8yqjm3mnw2.codesandbox.io/

HTML 8.26% CSS 10.88% JavaScript 80.86%
react redux hooks es6 context suspense lazy

no-redux's Introduction

Hi there 👋

I'm Richard Oliver Bray a web and game developer. I love learning new technologies, programming languages, and trying out new tools. I'm currently enjoying the Haxe programming language as well as making games in HaxeFlixel.

Me around the web

Some code related stats

Richard Brays GitHub stats

no-redux's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

no-redux's Issues

HomePage is rendering twice

Hello.
Thanks for the really great article. It’s very good understandable.
I have a question.
I can see that HomePage component is rendering twice.
I put console.log(‘rendered’) inside of HomePage and I can see it two times.
Is it possible to avoid that?

同学,您这个项目引入了1071个开源组件,存在30个漏洞,辛苦升级一下

检测到 RichardBray/no-redux 一共引入了1071个开源组件,存在30个漏洞

漏洞标题:serialize-javascript 代码问题漏洞
缺陷组件:[email protected]
漏洞编号:CVE-2020-7660
漏洞描述:Verizon serialize-javascript是美国威瑞森电信(Verizon)公司的一款支持将JavaScript序列化为 JSON超集的软件包。
serialize-javascript 3.1.0之前版本中存在代码问题漏洞。远程攻击者可借助index.js文件中的‘deleteFunctions’函数利用该漏洞注入任意代码。
国家漏洞库信息:https://www.cnvd.org.cn/flaw/show/CNVD-2020-53801
影响范围:(∞, 3.1.0)
最小修复版本:3.1.0
缺陷组件引入路径:[email protected]>[email protected]>[email protected]>[email protected]>[email protected]
[email protected]>[email protected]>[email protected]>[email protected]

另外还有30个漏洞,详细报告:https://mofeisec.com/jr?p=i784c9

How would you handle multiple 'initialStates'

Hi,

I'm sure your example is meant to be simple, I'm just wondering, how would you handle, let's say, 2 different states (one a listing of data, the other more detail view of a specific data entry)

Would I add another reducer in the StoreProvider? Like this:

const [detail_state, dispatch] = React.useReducer(detail_reducer, initialDetailState);

Or is there something I'm missing?

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.