This is a CFP for ReactiveConf open call for lightning talks. If you'd like to see this talk become a reality, please ⭐️ star this gist. #ReactiveConf
BEM - Block, Element, Modifier
1. Block
----------------------------------------------
Eg: menu
<ul class="menu"></ul>
- Elements
- https://authenticjobs.com/#category=4&onlyremote=1
- http://www.workingnomads.co/jobs
- https://remoteok.io/remote-jobs
- https://www.wfh.io/search?utf8=%E2%9C%93&query=front&commit=Go%21
- https://stackoverflow.com/jobs?sort=i&q=front&r=true
- https://weworkremotely.com/jobs/search?term=front
- http://jobs.smashingmagazine.com/
- http://frontenddeveloperjob.com/
- http://codepen.io/jobs
- https://news.ycombinator.com/item?id=12405698
@tracked is a decorator for Preact that makes working with state values no different than properties on your component instance.
It's one 300 byte function that creates a getter/setter alias into state/setState() for a given key, with an optional initial value. The "magic" here is simply that it works as a property decorator rather than a function, so it appears to integrate directly into the language.
tracked has no dependencies and works with any component implementation that uses this.state and this.setState().
| //Usage | |
| import React from 'react'; | |
| import { BrowserRouter as Router } from 'react-router-dom'; | |
| import Route from './AuthRoute'; | |
| import Login from './Login'; | |
| import Private from './Private'; | |
| export default () => | |
| <Router> |
| 100+ different js counter apps... |
Sometimes you just need to quickly take some notes.
A trick is to use the data: scheme with data:text/html to show just a piece of HTML in your browser.
Then using the mighty contentEditable to make the whole thing editable.
To copy/paste into your browser address bar:
data:text/html,<html contenteditable>