medium.brunosabot.dev/streamline-y...
medium.brunosabot.dev/streamline-y...
This hook will let you know from the console the attributes of an object that have been updated, causing rerendering.
You should use it to avoid unnecessary renders.
#techtweets #day200
This hook will let you know from the console the attributes of an object that have been updated, causing rerendering.
You should use it to avoid unnecessary renders.
#techtweets #day200
For the same result, the code generated by Babel with be smaller with functions.
#techtweets #day199
For the same result, the code generated by Babel with be smaller with functions.
#techtweets #day199
It is useful to reuse and factorize some pieces of definitions.
#techtweets #day198
It is useful to reuse and factorize some pieces of definitions.
#techtweets #day198
You need to prefix an attribute or a method with # to make it private.
#techtweets #day197
You need to prefix an attribute or a method with # to make it private.
#techtweets #day197
#techtweets #day196
#techtweets #day196
#techtweets #day195
#techtweets #day195
It can be helpful to wrap an element with a descriptive tooltip.
#techtweets #day194
It can be helpful to wrap an element with a descriptive tooltip.
#techtweets #day194
#techtweets #day193
#techtweets #day193
Any property or sub-property will then become readonly.
#techtweets #day192
Any property or sub-property will then become readonly.
#techtweets #day192
#techtweets #day191
#techtweets #day191
It can give you superpowers when creating a shell script.
#techtweets #day190
It can give you superpowers when creating a shell script.
#techtweets #day190
It might help you avoid layout shifts
#techtweets #day189
It might help you avoid layout shifts
#techtweets #day189
The hook that solves that uses refs and effects to manage the interval correctly.
#techtweets #day188
The hook that solves that uses refs and effects to manage the interval correctly.
#techtweets #day188
Learn more on#techtweets #day187
web.dev/third-party-fa…
Learn more on#techtweets #day187
web.dev/third-party-fa…
It will act like an object, but it will also merge multiple definitions if included in the same namespace
#techtweets #day186
It will act like an object, but it will also merge multiple definitions if included in the same namespace
#techtweets #day186
This can also be triggered for `
This can also be triggered for `
`git grep --heading --line-number 'text to find'`
--heading will group lines by file
--line-number (or -n) will show... line numbers.
#techtweets #day184
`git grep --heading --line-number 'text to find'`
--heading will group lines by file
--line-number (or -n) will show... line numbers.
#techtweets #day184
It's getting harder to find new topics, so I hope you still like the content!
It's getting harder to find new topics, so I hope you still like the content!
It is very helpful on responsive designs or to priorise the right information for screen readers -a title is more important than an image.
Use it with care however.
#techtweets #day183
It is very helpful on responsive designs or to priorise the right information for screen readers -a title is more important than an image.
Use it with care however.
#techtweets #day183
`const forward = useKeyPress("w");`
You might want to use it for a `wasd` navigation for example.
#techtweets #day182
`const forward = useKeyPress("w");`
You might want to use it for a `wasd` navigation for example.
#techtweets #day182
You will provider the browser a first response with files to load while generating the page.#techtweets #day181
developer.mozilla.org/en-US/docs/Web…
You will provider the browser a first response with files to load while generating the page.#techtweets #day181
developer.mozilla.org/en-US/docs/Web…
It can be used to measure a method's performance or inject additional parameters among many other use cases.
#techtweets #day180
It can be used to measure a method's performance or inject additional parameters among many other use cases.
#techtweets #day180
It can be instanced from most supported numeric format such as hexadecimal, octal, binary an of course decimal.
Just add a `n` at the end of your number!
#techtweets @day179
It can be instanced from most supported numeric format such as hexadecimal, octal, binary an of course decimal.
Just add a `n` at the end of your number!
#techtweets @day179