mattermost-webapp
zod
Our great sponsors
mattermost-webapp | zod | |
---|---|---|
10 | 288 | |
2,296 | 30,347 | |
- | - | |
7.6 | 9.1 | |
3 months ago | 4 days ago | |
TypeScript | TypeScript | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
mattermost-webapp
-
Ask HN: What are the best open source TypeScript projects I can learn from?
I don't know about the quality, but Mattermost is in TS: https://github.com/mattermost/mattermost-webapp
-
The Platformer #30: 22e82dfc
On the web platform end, we merged the upgrade to React 17 (again) into master, and performed a bunch of (more minor) dependency updates while at it. We also continue our journey towards using MUI-based menus.
-
The Platformer #28: No More Bad Ideas
On the web platform end, we continue the work on menu components, found and fixed the issue that marked a whole lot of channels as unread last week (with GarphQL enabled). We’ve also been working on performance regression tests. And we’re upgrading moar dependencies.
-
The Platformer #26: The Subtle Art Of Letting Things Blow Up In Your Face
On the web platform end, the team has been working on unifying post components (and cleaning up afterwards), more fighting with Webpack and friends in the context of the front-end part of the multi-product architecture, testing out a prototype of menus based on Material UI, and the regular cycle of dependency updates.
-
What are some great advanced open source Reactjs projects to learn from?
mattermost : https://github.com/mattermost/mattermost-webapp
-
Overwhelmed by Anticipation in The Cloud — The Mattermost Platformer #18
On the web platform end, beside being overwhelmed by anticipation of the upcoming new joiners, we’re making good progress in getting webpack federation ready to be merged. This will be a solid step towards the multi-product architecture on the front-end. The upgrade to React 17 is also almost there. Beyond that, as mentioned, we’re fixing a few issues in GraphQL before we enable it again on community.
-
Benchmark Says No — The Mattermost Platformer #16
On the web platform end, we are experimenting with “theme weeks” as a budgeting hack to work on important but not urgent stuff. This first theme week (and this will likely be a recurring one) is focused on 🥁 performance! We’re pulling in a whole bunch of tickets accumulated over time of smaller things we can optimize for performance. Some of these improvements are already landing.
-
Firehose — The Mattermost Platformer #15
Platform involves work in many of our “highest traffic” repositories. I’m still figuring out reasonable ways how to keep up with what’s happening in the webapp, server, mobile repos as well as everything related to QA.
-
My 6 months job search as a junior software developer
Most projects on GitHub have CONTRIBUTING.md file which describes how you can contribute, so you can start from there. Generally I'd say getting to meaningful contributions is very difficult for someone without real-world development experience, so if you choose to do this it won't be easy. On the other hand, this is precisely why employers prefer people who already have this experience -- it takes time and effort and not everyone makes it even with support from senior collegues.
-
Uclusion React code now public
Mattermost was the closest I was able to find and until their cloud beta finishes you have to setup a server to run them. With a Github or Google identity you are one click away from running Uclusion (and with any email several clicks) - no credit card required.
zod
-
From Flaky to Flawless: Angular API Response Management with Zod
Zod is an open-source schema declaration and validation library that emphasizes TypeScript. It can refer to any data type, from simple to complex. Zod eliminates duplicative type declarations by inferring static TypeScript types and allows easy composition of complex data structures from simpler ones. It has no dependencies, is compatible with Node.js and modern browsers, and has a concise, chainable interface. Zod is lightweight (8kb when zipped), immutable, with methods returning new instances. It encourages parsing over validation and is not limited to TypeScript but works well with JavaScript as well.
- TypeScript Essentials: Distinguishing Types with Branding
-
You can’t run away from runtime errors using TypeScript
Zod is a TypeScript-first schema declaration and validation library. It helps create schemas for any data type and is very developer-friendly. Zod has the functional approach of "parse, don't validate." It supports coercion in all primitive types.
-
Best Next.js Libraries and Tools in 2024
Link: https://zod.dev/
-
Popular Libraries For Building Type-safe Web Application APIs
You can check out their documentation here.
-
Epic Next JS 14 Tutorial Part 4: How To Handle Login And Authentication in Next.js
You can learn more about Zod on their website here.
-
What even is a JSON number?
In JS, it's a good idea anyway to use some JSON parsing library instead of JSON.parse.
With Zod, you can use z.bigint() parser. If you take the "parse any JSON" snippet https://zod.dev/?id=json-type and change z.number() to z.bigint(), it should do what you are looking for.
-
Error handling in our form component for the NextAuth CredentialsProvider
We will validate our input using client-side zod. Zod handles TypeScript-first schema validation with static type inference. This means that it will not only validate your fields, it will also set types on validated fields.
-
Zod: Zero to Hero - Chapter 4
A word of warning: while discriminated unions are very powerful, there's an ongoing discussion on whether discriminated unions should be deprecated and replaced with a different API.
-
Zod: Zero to Hero - Chapter 1
I was first introduced to Zod by Adam Bobrow - a colleague of mine and a dear friend. Adam was sick and tired from JavaScript's brittleness, and about two years ago he started migrating our code base to TypeScript. But that wasn't enough for him. He kept complaining: "What good are my types, if some other service decides to send me bad data and breaks my code?". That's when he discovered Zod.
What are some alternatives?
react-most-wanted - React starter kit with "Most Wanted" application features
class-validator - Decorator-based property validation for classes.
vuetify - 🐉 Vue Component Framework
joi - The most powerful data validation library for JS [Moved to: https://github.com/sideway/joi]
Mattermost - Mattermost is an open source platform for secure collaboration across the entire software development lifecycle..
Yup - Dead simple Object schema validation
Grafana - The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
typebox - Json Schema Type Builder with Static Type Resolution for TypeScript
tailscale - The easiest, most secure way to use WireGuard and 2FA.
ajv - The fastest JSON schema Validator. Supports JSON Schema draft-04/06/07/2019-09/2020-12 and JSON Type Definition (RFC8927)
ts-routes - Strongly typed parameterized routing paths
io-ts - Runtime type system for IO decoding/encoding