Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jamesknelson
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
CSS-In-JS and Static Rendering
(frontarm.com)
47 points
by
jamesknelson
8y ago
|
19 comments
62.
▲
Reusable Time Travel with React Hooks and Immer
(frontarm.com)
2 points
by
jamesknelson
8y ago
|
0 comments
63.
▲
Four ways to pass children to React elements
(frontarm.com)
1 points
by
jamesknelson
8y ago
|
0 comments
64.
▲
React Fragments a year later: 4 real-world examples
(frontarm.com)
2 points
by
jamesknelson
8y ago
|
0 comments
65.
▲
Show HN: Create-react-blog – start and deploy a blog with React and MDX
(github.com)
2 points
by
jamesknelson
8y ago
|
0 comments
66.
▲
Show HN: Create React/Navi App – CRA@2 with routing, mdx and static rendering
(frontarm.com)
2 points
by
jamesknelson
8y ago
|
2 comments
67.
▲
Using MDX with create-react-app 2
(frontarm.com)
1 points
by
jamesknelson
8y ago
|
0 comments
68.
▲
Static vs. Server Rendering
(frontarm.com)
2 points
by
jamesknelson
8y ago
|
0 comments
69.
▲
by
jamesknelson
8y ago
There are a few reasons, for example: - You can eject (which gives you more control) - There’s a lot less configuration involved - It’s easier to integrate with the rest of the react ecosystem, as Navi is just a small library - You can bolt
70.
▲
Authenticated routes for React, with Navi
(frontarm.com)
2 points
by
jamesknelson
8y ago
|
0 comments
71.
▲
Show HN: Navi – painless routing & SEO with vanilla create-react-app
(frontarm.com)
3 points
by
jamesknelson
8y ago
|
3 comments
72.
▲
A React hooks based hamburger menu
(frontarm.com)
1 points
by
jamesknelson
8y ago
|
0 comments
73.
▲
by
jamesknelson
8y ago
Yeah, I really do like this way of doing it. I might change the Vue example to do that. For React though, the HTML is usually empty, so it ends up hiding the dependencies within a tab that nobody looks at, so imports are a lot clearer. Perh
74.
▲
by
jamesknelson
8y ago
Ahhh makes sense. Demoboard is really made for throwing together a demo as quick as possible. But I think https://codesandbox.io would suit what you want perfectly. Have you given it a try?
75.
▲
by
jamesknelson
8y ago
The Vue example actually loads Vue in index.js as an import statement. I'm not really familiar with Vue, so maybe that isn't typical and I should put it as a script tag?
76.
▲
by
jamesknelson
8y ago
Thanks :-) By "format", do you mean something like Prettier? I'm curious what tool you'd use for CSS?
77.
▲
by
jamesknelson
8y ago
Yep! Uses mdx-js to turn Markdown into JSX, and then fetches any NPM packages from UNPKG. I wrote up an introduction with some details at https://frontarm.com/articles/announcing-demoboard/
78.
▲
by
jamesknelson
8y ago
Thanks for letting me know! I had tested it in Chrome's mobile simulator, and checked that it loaded on my phone, but hadn't actually tried scrolling. Will see if I can find a fix. I'm kinda surprised that it works on phones
79.
▲
Demoboard
(frontarm.com)
77 points
by
jamesknelson
8y ago
|
19 comments
80.
▲
ES6 Proxy is supported by 87% of browsers globally
(caniuse.com)
2 points
by
jamesknelson
8y ago
|
0 comments
81.
▲
Passing props to render props via React Context
(frontarm.com)
1 points
by
jamesknelson
8y ago
|
0 comments
82.
▲
Async/await and promises cheatsheet
(frontarm.com)
1 points
by
jamesknelson
8y ago
|
0 comments
83.
▲
The “await” operator, by example
(frontarm.com)
1 points
by
jamesknelson
8y ago
|
0 comments
84.
▲
Async/await and promises cheatsheet
(github.com)
2 points
by
jamesknelson
8y ago
|
0 comments
85.
▲
Show HN: Mastering Async JavaScript - learn async JS through live examples
(frontarm.com)
8 points
by
jamesknelson
8y ago
|
0 comments
86.
▲
by
jamesknelson
8y ago
I’m not sure if Swiss fine machinery is the best example here. What is it about the nature of Switzerland that makes it a more natural place to create fine machinery then anywhere else? Similarly, using American corn as an example of how fr
87.
▲
Passing data to props.children
(frontarm.com)
1 points
by
jamesknelson
8y ago
|
0 comments
88.
▲
Avoiding unnecessary renders with React context
(frontarm.com)
1 points
by
jamesknelson
8y ago
|
0 comments
89.
▲
by
jamesknelson
8y ago
This is a really interesting point. And to be honest, I don't even really mind that I'm being shown ads after purchasing a subscription. The thing is, the ads have to be in good taste. When I was searching for a way to disable the
90.
▲
New York Times app autoplays video ads on articles even with paid subscription
(twitter.com)
219 points
by
jamesknelson
8y ago
|
77 comments
More ›