Comments (1)
Also I dont like when components consist of
- data.js - which export function
connect
which is wrapper that connect components to store or apollo - index.js - component and
export default connect(Component)
in the end
better
- feature.js - component, not yet attached to data (also can split feature to feature.js(smart) and presentation.js(dumb))
- index.js - import feature and attach it to data
Why? for testing, first example force us to test component attached to data, with second we have option to test component only or component with data
from ran.
Related Issues (20)
- Travis CI build fail HOT 1
- [SOLVED] Router expected '/' but got 'index' - build:static_export HOT 1
- newer compression module HOT 3
- ReasonReact sample page HOT 2
- server.js contains some resolves that don't exist
- polyfill.io service HOT 1
- 402 payment required... Repo no longer maintained? HOT 2
- Is there a backend to this? [Question] HOT 4
- Integrate React-Intl?
- Next.js 8
- being logged out after refreshing
- Prisma support
- Cannot convert object to primitive value HOT 4
- Can't import scss file
- Can't deploy ran project to now
- Cannot run IE browser
- Wildcard instead of GraphQL?
- now.sh website is down due to deprecation of 1.0 deployments HOT 1
- New version is coming with full update :) HOT 7
- Error on Clean Setup
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 ran.