Tech news from Canada · @TechNews
998 followers · 27985 posts · Server mastodon.roitsystems.ca
Daishi Kato · @daishi
273 followers · 223 posts · Server fosstodon.org

Here's a very rough drawing to show the protocol (over HTTP) of Waku v0.15.0.

👉 fosstodon.org/@daishi/11104666

#reactjs #react #javascript #typescript #servercomponents

Last updated 1 year ago

Daishi Kato · @daishi
270 followers · 219 posts · Server fosstodon.org

🎉 Waku-Waku excited to announce Waku v0.15.0!

It's a new version with breaking change. Improves the protocol so that a RSC payload can contain multiple JSX elements. Has new API based on user feedback.

GitHub 👉 github.com/dai-shi/waku
Playground 👉 codesandbox.io/p/sandbox/waku-
🤩

#reactjs #react #javascript #typescript #servercomponents

Last updated 1 year ago

Daishi Kato · @daishi
270 followers · 219 posts · Server fosstodon.org

Jotai tips: optimize rendering with two atoms

Here's an advanced tip to optimize React rendering with Jotai. Can you guess why the behavior of the second atom is different from the first one?

#reactjs #react #javascript #typescript #jotai

Last updated 1 year ago

Ignacio Chavez · @nashio
27 followers · 163 posts · Server mstdn.social

Syncing the M8 with React

#synth #react #midisync #midi #m8 #dirtywave

Last updated 1 year ago

François Best · @Franky47
165 followers · 385 posts · Server mamot.fr

Kind of torn on the semantics of

Does a change in behaviour grant a breaking change, if the API remains the same (drop-in upgrade), but the new behaviour seems like a bug fix?

For context: next-usequerystate up to 1.7.3 did scroll to the top of the page on query updates, which was annoying. The new version doesn't.

What version should that be? (there are other features in the release to it'll be at least a minor bump)

#semver #webdev #react #opensource

Last updated 1 year ago

Zaher Ghaibeh · @zaherg
73 followers · 1274 posts · Server micro.srvr.dev

any one I know is running on @vercel using nextjs?

I would appreciate some examples ;D

#puppeteer #react #nextjs #javascript #vercel

Last updated 1 year ago

Tech news from Canada · @TechNews
995 followers · 27837 posts · Server mastodon.roitsystems.ca
John Lister - GeoScrub · @GeoScrubJohnL
14 followers · 15 posts · Server fosstodon.org

Alright as promised I am kicking this series back off where I will be showing you how to build a web map component for React.js with a variety of mapping libraries. 🗺️ 🍃

Today we have @leaflet all ready to go!

Enjoy:
medium.com/@gisjohnecs/part-2-

#leflet #gis #gischat #react #webdev

Last updated 1 year ago

Daishi Kato · @daishi
270 followers · 219 posts · Server fosstodon.org

Jotai tips: selected item atom

It's a simple one. I'm not sure if it's worth a tip, though. Is it?

#reactjs #react #javascript #typescript #jotai

Last updated 1 year ago

François Best · @Franky47
166 followers · 375 posts · Server mamot.fr

📢 🇫🇷 Pour les sur : le 4 Octobre je présente les React Server Components au meetup Web & Bar à la Bobine.

Au plaisir de vous y retrouver 🍻

meetup.com/grenoble-web-develo

#dev #react #grenoble

Last updated 1 year ago

Tech news from Canada · @TechNews
996 followers · 27774 posts · Server mastodon.roitsystems.ca
Pascal · @pascal
80 followers · 264 posts · Server moth.social

I wrote a blog post about some of the things I actually prefer about over my beloved , with some shade for and . Bonus shoutout to @collinsworth

pascal.com/diary/2023-09-08-th

#react #sveltekit #angular #tailwind

Last updated 1 year ago

Pier-Luc Brault · @plbrault
72 followers · 74 posts · Server fosstodon.org

Just read an article about Server Components, and I would like to say that we have now come full circle from PHP.

#react

Last updated 1 year ago

Daishi Kato · @daishi
270 followers · 219 posts · Server fosstodon.org

Jotai tips: two args

Jotai v1 only accepts one argument for write function. Since v2, the write function can take two or more arguments. (Also, better TS support for zero arguments.)

#reactjs #react #javascript #typescript #jotai

Last updated 1 year ago

Tom Smykowski · @tomaszs
32 followers · 221 posts · Server techhub.social

I've reviewed 20 entry level React.js projects to combine a list of 20 tips on how you can improve your code
tomaszs2.medium.com/20-react-j

#react #javascript

Last updated 1 year ago

François Best · @Franky47
166 followers · 370 posts · Server mamot.fr

Today in : card component to embed GitHub repo stats and NPM package download graph.

Another great case for server components: all data is fetched at render time, cached for 24h, and rendered to a static HTML+SVG+CSS output.

#webdesign #react

Last updated 1 year ago

François Best · @Franky47
166 followers · 369 posts · Server mamot.fr

My current favourite trick with React Server Components: direct filesystem access and path manipulation via `import.meta.url` (the ESM equivalent of __filename in CJS).

As an example: how to get an "Edit this page on GitHub" URL for any file in the repository.

#webdev #react

Last updated 1 year ago

Daishi Kato · @daishi
270 followers · 215 posts · Server fosstodon.org

Jotai tips: toggle atom

Let's learn the simple one too. The point is we don't export the base atom.

#reactjs #react #javascript #typescript #jotai

Last updated 1 year ago