Announcing ReForm: Making forms sound good again with ReasonReact

Announcing ReForm: Making forms sound good again with ReasonReact

☞ 

#Reactjs #javascript

  • Announcing ReForm: Making forms sound good again with ReasonReactReForm short demo, check the source out at are really complex beasts and can scale to total chaos really quickly if you don’t know how to manage all those field states and validations altogether.
  • The nicest solution in React world is to lift the state of the form to some other component, which will take care, protect and give love to your form state.
  • In ReactJS there is a nice amount of solutions for dealing with form data management (Formik, Redux Forms, etc).
  • One of the first things I wanted to try to unleash the power of Reason’s type system was in forms, that’s why we developed ReForm.
  • ReForm still on its early stages and certainly still there is a lot to improve from community suggestions, but we are already loving to deal with its thin API using it for both web and native worlds with React Native.

Forms are really complex beasts and can scale to total chaos really quickly if you don’t know how to manage all those field states and validations altogether. The nicest solution in React world is to…
Continue reading “Announcing ReForm: Making forms sound good again with ReasonReact”

Easily Build Forms in React Native – React Native Development – Medium

Easily Build Forms in React Native -

  • A few things you might have to take care of… – Creating the necessary components (text inputs, select inputs, checkboxes, switches, etc)Writing/finding validation logicUpdating your components to display any errors (I always forget to do this)Updating your UI whenever you change fieldsNone of these things are difficult, but they can…
  • What We’re BuildingWe’ll be building a sign up form that has the following fields – Email (required)Username (optional)Password (required)Agree to terms (required)Defining the Form ModelThe first thing we need to do is define a model for our form — this is what will be passed to the form component and used to render the…
  • First we need to get the Form component (line 6) then we need to render the form and pass our model to it as the type (line 19).
  • Then pass those options to the Form component – Let’s do the same thing to add some error the Form DesignThe final thing I want to do is modify the design of this form slightly.
  • You can do quite a few things but I’m just going to be changing the label color on this one form.

If you’re building a React Native app it’s almost a guarantee that you’ll have to build at least one form. The reality is you’ll probably build quite a few (sign in, sign up, edit profile, etc.)…
Continue reading “Easily Build Forms in React Native – React Native Development – Medium”

Android or React Native?

  • I am a proficient iOS/Swift developer and I am keen to develop an app on the Android platform.
  • I am also a realist and I know that the time available to me is limited.
  • Q : Will my time be better spent learning React-Native – or – Android Java/Kotlin?

I’m a proficient iOS / Swift developer and I want to have a go at developing on the Android platform. How should I do that?
Continue reading “Android or React Native?”

The most popular JavaScript links of 2017 – DailyJS – Medium

📦 The most popular JavaScript links of 2017:   #ui #100DaysOfCode…

  • The most popular JavaScript links of 2017As the year draws to a close it’s the perfect time to reflect and look back over the past 12 months to see what projects got people talking and what JavaScript topics got folks clicking.To do this we’ve taken a dive into the JavaScript Weekly…
  • Ten Things A Serious JavaScript Developer Should LearnBen McCormick| Shared in July’s Issue 345One developer’s take on a question asked on Reddit earlier this year — the question attracted plenty of debate over what priorities JS developers should have.benmccormick.orgA Modern JavaScript CheatsheetBeaudru Manuel | Shared in September’s Issue 353This thorough guide explains plenty…
  • This finale, looking at the pros and cons of each, proved highly popular.sitepen.comA Set of Best Practices for JavaScript Projectshive | Shared in July’s Issue 342British design studio Hive collected together guidelines for working on JavaScript projects.
  • With over 10k stars on GitHub, the guide covers documentation, dependencies, testing, code structure and more.github.comAwait and Async Explained with Diagrams and ExamplesNikolay Grozev | Shared in October’s Issue 355This detailed tutorial explains the await/async features in Bias is Holding You Back: It’s Time to Embrace Arrow FunctionsEric Elliott | Shared…
  • When it does so without the new keyword, it’s a factory the f*ck JavaScript?Denys Dovhan | Shared in August’s Issue 346Around 40 examples of ‘quirky’ JavaScript code with unexpected results or outcomes.

As the year draws to a close it’s the perfect time to reflect and look back over the past 12 months to see what projects got people talking and what JavaScript topics got folks clicking. To do this…
Continue reading “The most popular JavaScript links of 2017 – DailyJS – Medium”

Easily Build Forms in React Native – React Native Development – Medium

How to Easily Build Forms in React Native:

  • It makes creating forms in React Native easy by simply having to define a model for that form and you’re set!
  • Snack will automatically pull that in for us.Tip: I find that scanning the QR code from the Expo app on my device gives the best development experience.If you prefer to do this outside of Snack make sure you install tcomb-form-native via npm or yarn.What We’re BuildingWe’ll be building a sign up…
  • First we need to get the Form component (line 6) then we need to render the form and pass our model to it as the type (line 19).
  • We create an object, add a key named “fields” (since we’re modifying the fields), add a key to this object that aligns with the key in our model (“terms”), and then inside that object we set the new label.Code is easier to understand.Then pass those options to the Form componentLet’s…
  • Just about everything in the default form is customizable.As you can see tcomb-form-native makes building forms quick and easy but also gives you the flexibility you need to create forms the give users the necessary info and fit with the rest of your app (unless I’m designing of course).

If you’re building a React Native app it’s almost a guarantee that you’ll have to build at least one form. The reality is you’ll probably build quite a few (sign in, sign up, edit profile, etc.) Yeah…
Continue reading “Easily Build Forms in React Native – React Native Development – Medium”

Day 36: Soon Come Soon – conshus – Medium

Day 36: Soon Come Soon  #hiphop #firebase #react #coding #ux #reactjs

  • Did a little bit of coding.Monday: Since I was off for Labor Day, I decided to devote the day to really getting a lot done on my refactor project.
  • I learned A LOT about what you can and can not do in React!
  • Worked out the integration of using Google Sheets as a backend to update my info section.
  • That turned out to be a lot more difficult than I thought, but I think it will be beneficial in the end.
  • I also got the audio player working the way I want.Right now, all I have to do is add the content for the thank you and tech built with sections of the info page.

Right now, all I have to do is add the content for the thank you and tech built with sections of the info page. I’m thinking I want to add a section to put my shirt shop just incase if people want to…
Continue reading “Day 36: Soon Come Soon – conshus – Medium”