Comments (10)
If you have questions about koa you can ask them here.
Koa is similar to express, but express middleware doesn't work for koa.
The idea is the same though, the only difference are generators instead of normal functions.
from universal-redux.
Async/await instead of generators if using Koa 2.x
Using react-helmet instead of react-document-meta.
from universal-redux.
I am somewhat familiar with Koa, and the syntax is cool, and lets you do neat things with middleware that were annoying with Express. Are there specific use cases that make it a high priority?
from universal-redux.
inline-styles still has many problems. if using it with external style, it's too hard to manage. and have no emmet supported yet. css-modules is fine enough.
from universal-redux.
@arkist i agree. i think given the churn in css with react it will be best to leave things with css modules for now, but allow people to configure webpack to use whatever other setups they need. radium should be possible without it being built in.
from universal-redux.
@arkist what "many problems" do inline styles have?
from universal-redux.
@halt-hammerzeit as I mentioned,
- It is hard to manage. Imagine if you using CSS framework like bootstrap. Still keep in mind how whole external styles and override CSS props. not all the styles in inlined, adding some styles in 'inline' can't save us.
- All the pseudo selectors/elements. writing more
'
is feel so annoying. and can't handle pseudo element correct way. - No Emmet/IDE support. typing is very tired. and people miss types usually.
- Not the Standard. most of 'inline-styles' using camelCase and 'string' and can not be supported CSS' good parts.
if you make every part from scratch or using inline-styled-react-components-only, inline styles may help you. but if not, can not recommend IMHO.
from universal-redux.
The only things I can agree are no pseudo elements and no pseudo selectors, no IDE support, no autocompletion.
I don't agree with your other statements.
External styles are more feature-rich, and that's the only thing about them.
from universal-redux.
In case anyone is interested in koa support, I've done some work to pull out the serverside rendering into an Express middleware, that's ripe for someone making a koa version. #38
from universal-redux.
Koa support is now merged in with #60 and released with 3.0.1
from universal-redux.
Related Issues (20)
- onEnter can't redirect HOT 1
- How to access external server api (rails or laravel ... etc) from universal-redux?
- [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
- how the server side API requests handle the jwt token?
- Move to redux-connect HOT 1
- Help required?
- Question about waiting for Server Requests HOT 1
- Question about โAdd routes, reducer and rootClientComponent aliases so that client has access to themโ HOT 5
- Setting scroll behavior for the router
- SVG Loading Configuration
- Different CSS idents cause server render to be discarded HOT 1
- Using npm dependencies listed in Universal-redux on the project level HOT 3
- [webpack-isomorphic-tools] asset not found HOT 9
- Question: how to alter the JS loader HOT 4
- Passing Express request headers to Html component?
- @@router/UPDATE_LOCATION fired after first dispatched action HOT 3
- Server-side React render was discarded HOT 5
- Use redux-devtools-extension HOT 1
- integrate HappyPack
- should user other way to compile es6-7 with babel
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 universal-redux.