Comments (4)
Well, redux bindings are more react-ish now and waaaaay more elegant, there is a but in it, tho...
I couldn't put the reducers I wanted inside props properties. Seems like Hybrids only accepts a flat tree of properties, so for now, I'm using only getState() inside of the props, so the props has all the reducers inside of it (It works, but I dislike it).
Talking to Hybrids owner, seems like I can do something like this:
const Component = {
props: connect(store, ({ myReducer, myOtherThing } ) => ({ myReducer, myOtherThing })),
mergedThings: ({ props }) => props.myReducer + props.myOtherThing,
}
Maybe put this "mergedThings" logic inside my redux binding for Hybrids. I hope it works
from demolay-event-management.
E2E tests are out of league of now. Cypress can't access shadowDom for now. Maybe Selenium or WebDriver could do the trick, but I wanted something to make E2E tests easier, and Cypress definitely is the main choice.
There is an issue on Cypress about it, maybe i'll wait for it a little longer and see how this goes before trying Selenium or WebDriver
from demolay-event-management.
"Route components MUST NOT be containers, they are just High Order Components, and their object is just to compose the view."
This is true, but routes like Entrada ("www.system.com/") has only one form, this would make it only call tag, doesn't make much sense for me.
So i'm making this rule less strict FOR NOW, since the routes are basically one component.
I'm changing this for: "Route components MUST NOT be containers if they have a bunch of stuff to do inside of it. If the route is only one component (or it has a only one responsability), I can let the route be a container"
from demolay-event-management.
So, stuff got a little different, some of the business logic are being changed
- ComprarComponent let me buy only one product at a time, I should change it for some kind of Cart concept, where you put stuff in your cart and then buy everything at once
- Creation of Radio Buttons based on existing product category on database
- Create Container responsable for getting the products categories and creating the radio buttons
from demolay-event-management.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from demolay-event-management.