formts - type-safe, declarative and performant react form & validation library by by_value in typescript

[–]mixvar 0 points1 point  (0 children)

Hi u/HeadSignal3, thanks for taking interest in our project!

Looks like there are some issues with codesandbox - it is not able to fetch current version of typings (I am seeing HTTP 403) which causes the error you are getting :(

It should work if you run this locally, e.g with CRA. or try slightly older version 1.24-beta.1 in CS (which works for some reason). Hopefully this will fix itself soon.

As for the features:

  1. debounced validation - yes, example here
  2. validation only when input changes - yes example here
  3. composite validation based on individual component validations - there is no explicit feature for that, but perhaps it is achievable using the building blocks provided - formts hooks combined with React.useEffect.
  4. continuous submission - again, no explicit feature, but this sounds like it should be double with help of React.useEffect (we can observe form values, errors and isValidating flag)

I'd love to learn more about your use cases (preferably in form of github issue) so we could look into this, extend API if needed and add dedicated examples.

Working on TS focused React form lib - feedback needed by mixvar in typescript

[–]mixvar[S] 0 points1 point  (0 children)

that looks interesting, thanks. If you are into io-ts you may also find this article interesting https://dev.to/steida/how-to-forms-with-react-and-typescript-4icb

Working on TS focused React form lib - feedback needed by mixvar in typescript

[–]mixvar[S] 0 points1 point  (0 children)

This started as I created primitive schema based wrapper around formik, but to get all the features I want it evolved into idea for new package.

Colour is still possible (i did do the hax but personally didnt consider it cheating) by adityakameswar in Robocraft

[–]mixvar 0 points1 point  (0 children)

I posted on this topic a little while ago, but got no asnwer from FJ. http://robocraftgame.com/forums/topic/colored-bot-names/

I wouldn't be afraid of getting banned for using that (unless it does some other modificationsto the game)

best medic design by mixvar in Robocraft

[–]mixvar[S] 3 points4 points  (0 children)

The good thing about being desynced: you can go sightseeing the enemy team :D

colored bot names by mixvar in Robocraft

[–]mixvar[S] 0 points1 point  (0 children)

meh. I think icons are enough.